Skip to content

Commit

Permalink
fix(targetticket,targetchange): update constants for due date resolut…
Browse files Browse the repository at this point in the history
…ion in JS code

Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jan 15, 2020
1 parent 9be5e3a commit 4ddb6e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/scripts.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -657,13 +657,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;
Expand Down

0 comments on commit 4ddb6e8

Please sign in to comment.