Skip to content

Commit 17d85f9

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

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
@@ -586,12 +586,6 @@ public function showForm($ID, $options = []) {
586586
echo '</li>';
587587
}
588588

589-
if ($canEdit) {
590-
echo Html::scriptBlock('$(function() {
591-
plugin_formcreator.showFields($("form[name=\'' . $formName . '\']"));
592-
})');
593-
}
594-
595589
//add requester info
596590
echo '<div class="form-group">';
597591
echo '<label for="requester">' . __('Requester', 'formcreator') . '</label>';

0 commit comments

Comments
 (0)