From 9be5e3aa6a89d51e18cc3e6c198d89808547344d Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Wed, 15 Jan 2020 10:07:13 +0100 Subject: [PATCH] fix(targetticket,targetchange): inverted show / hide for urgenty settings Signed-off-by: Thierry Bugier --- js/scripts.js.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/scripts.js.php b/js/scripts.js.php index 9b8ee1c17..36140be02 100644 --- a/js/scripts.js.php +++ b/js/scripts.js.php @@ -1173,13 +1173,13 @@ function plugin_formcreator_changeUrgency(rand) { switch($('#dropdown_urgency_rule' + rand).val()) { case '2' : - $('#urgency_question_title').show(); - $('#urgency_question_value').show(); - break; - case '3': $('#urgency_specific_title').show(); $('#urgency_specific_value').show(); break; + case '3': + $('#urgency_question_title').show(); + $('#urgency_question_value').show(); + break; } }