|
@@ -2222,7 +2222,7 @@ define('backend',['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'], f
|
|
|
});
|
|
|
},
|
|
|
init: function () {
|
|
|
-
|
|
|
+
|
|
|
|
|
|
$(document).on('click', '.btn-dialog', function (e) {
|
|
|
Backend.api.open(Backend.api.fixurl($(this).attr('href')), $(this).attr('title'));
|
|
@@ -2242,7 +2242,8 @@ define('backend',['jquery', 'bootstrap', 'toastr', 'layer', 'lang', 'config'], f
|
|
|
window.Backend = Backend;
|
|
|
|
|
|
Toastr.options = Backend.config.toastr;
|
|
|
-
|
|
|
+
|
|
|
+ Backend.init();
|
|
|
return Backend;
|
|
|
});
|
|
|
|