Skip to content

Commit

Permalink
fix(dropdownfield,glpiobjectfield): sub type not dosplayed
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Feb 11, 2020
1 parent 7c46c26 commit 461fbe4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/scripts.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,9 @@ function plugin_formcreator_changeQuestionType(rand) {
return;
}

$('#plugin_formcreator_subtype_label').html(response.label);
$('#plugin_formcreator_subtype_value').html(response.field);

$('.plugin_formcreator_required').toggle(response.may_be_required);
$('.plugin_formcreator_mayBeEmpty').toggle(response.may_be_empty);
$('#plugin_formcreator_subtype_label').html(response.label);
Expand Down

0 comments on commit 461fbe4

Please sign in to comment.