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 2e9b693 commit 9cea337
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -577,11 +577,6 @@ public function showForm($ID, $options = []) {

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

if ($this->fields['status'] == self::STATUS_REFUSED) {
echo '<div class="refused_header">';
Expand Down

0 comments on commit 9cea337

Please sign in to comment.