fix: no global bootbox (#9879)

* fix: require bootbox (easy ones)

* fix: require bootbox (ugly ones)

* fix(eslint): a lengthy line
This commit is contained in:
gasoved
2021-10-08 22:25:36 +03:00
committed by GitHub
parent 94c4f87b2f
commit 227456fb17
35 changed files with 110 additions and 77 deletions

View File

@@ -4,8 +4,9 @@
define('admin/extend/plugins', [
'translator',
'benchpress',
'bootbox',
'jquery-ui/widgets/sortable',
], function (translator, Benchpress) {
], function (translator, Benchpress, bootbox) {
var Plugins = {};
Plugins.init = function () {
var pluginsList = $('.plugins');