Skip to content

Commit

Permalink
fix: unloaded JS library
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jul 10, 2020
1 parent 1070cb6 commit a71d468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ function plugin_init_formcreator() {
|| strpos($_SERVER['REQUEST_URI'], 'formcreator/front/formlist.php') !== false
|| strpos($_SERVER['REQUEST_URI'], 'formcreator/front/wizard.php') !== false) {
$PLUGIN_HOOKS['add_javascript']['formcreator'][] = 'lib/slinky/assets/js/jquery.slinky.js';
$PLUGIN_HOOKS['add_javascript']['formcreator'][] = 'lib/masonry.pkgd.min.js';
}

Plugin::registerClass(PluginFormcreatorForm::class, ['addtabon' => Central::class]);
Expand Down

0 comments on commit a71d468

Please sign in to comment.