Skip to content

Commit

Permalink
fix(formanswer): no longer need to call showfields on display
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jun 13, 2021
1 parent 6a2e2ab commit 17d85f9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -586,12 +586,6 @@ public function showForm($ID, $options = []) {
echo '</li>';
}

if ($canEdit) {
echo Html::scriptBlock('$(function() {
plugin_formcreator.showFields($("form[name=\'' . $formName . '\']"));
})');
}

//add requester info
echo '<div class="form-group">';
echo '<label for="requester">' . __('Requester', 'formcreator') . '</label>';
Expand Down

0 comments on commit 17d85f9

Please sign in to comment.