From 8f964e714ef2061e4a8227bda89a546ec126fde6 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Wed, 15 Jan 2020 10:21:33 +0100 Subject: [PATCH] fix(targetticket,targetchange): update constants for due date resolution in JS code Signed-off-by: Thierry Bugier --- js/scripts.js.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/scripts.js.php b/js/scripts.js.php index 85aaab48d..80394ee4e 100644 --- a/js/scripts.js.php +++ b/js/scripts.js.php @@ -951,13 +951,13 @@ function plugin_formcreator_formcreatorChangeDueDate(value) { $('#due_date_questions').hide(); $('#due_date_time').hide(); switch (value) { - case '1' : + case '2' : $('#due_date_questions').show(); break; - case '2' : + case '3' : $('#due_date_time').show(); break; - case '3' : + case '4' : $('#due_date_questions').show(); $('#due_date_time').show(); break;