Skip to content

Commit c01ae3d

Browse files
committed
fix(formanswer): no longer need to call showfields on display
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 5604c92 commit c01ae3d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

inc/formanswer.class.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -605,12 +605,6 @@ public function showForm($ID, $options = []) {
605605
echo '</li>';
606606
}
607607

608-
if ($canEdit) {
609-
echo Html::scriptBlock('$(function() {
610-
plugin_formcreator.showFields($("form[name=\'' . $formName . '\']"));
611-
})');
612-
}
613-
614608
//add requester info
615609
echo '<div class="form-group">';
616610
echo '<label for="requester">' . __('Requester', 'formcreator') . '</label>';

0 commit comments

Comments
 (0)