Skip to content

Commit

Permalink
fix(wizard): JS lib not loaded
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Dec 18, 2019
1 parent e7ed772 commit 5a4f2e7
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 @@ -225,6 +225,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 5a4f2e7

Please sign in to comment.