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 <[email protected]>
  • Loading branch information
btry committed Feb 11, 2020
1 parent fc0038f commit b4808b2
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 @@ -1421,6 +1421,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 b4808b2

Please sign in to comment.