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 Apr 13, 2021
1 parent 5604c92 commit c01ae3d
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 @@ -605,12 +605,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 c01ae3d

Please sign in to comment.