Skip to content

Commit 164d5b9

Browse files
committed
fix(dropdownfield,glpiobjectfield): sub type not dosplayed
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 290d249 commit 164d5b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

js/scripts.js.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,9 @@ function plugin_formcreator_changeQuestionType(rand) {
10841084
return;
10851085
}
10861086

1087+
$('#plugin_formcreator_subtype_label').html(response.label);
1088+
$('#plugin_formcreator_subtype_value').html(response.field);
1089+
10871090
$('.plugin_formcreator_required').toggle(response.may_be_required);
10881091
$('.plugin_formcreator_mayBeEmpty').toggle(response.may_be_empty);
10891092
plugin_formcreator_updateQuestionSpecific(response.additions);

0 commit comments

Comments
 (0)