|
|
@ -673,13 +673,15 @@ function _init() {
|
|
|
|
})(jQuery);
|
|
|
|
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* EXPLICIT BOX ACTIVATION
|
|
|
|
* EXPLICIT BOX CONTROLS
|
|
|
|
* -----------------------
|
|
|
|
* -----------------------
|
|
|
|
* This is a custom plugin to use with the component BOX. It allows you to activate
|
|
|
|
* This is a custom plugin to use with the component BOX. It allows you to activate
|
|
|
|
* a box inserted in the DOM after the app.js was loaded.
|
|
|
|
* a box inserted in the DOM after the app.js was loaded, toggle and remove box.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @type plugin
|
|
|
|
* @type plugin
|
|
|
|
* @usage $("#box-widget").activateBox();
|
|
|
|
* @usage $("#box-widget").activateBox();
|
|
|
|
|
|
|
|
* @usage $("#box-widget").toggleBox();
|
|
|
|
|
|
|
|
* @usage $("#box-widget").removeBox();
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
(function ($) {
|
|
|
|
|
|
|
|
|
|
|
@ -689,6 +691,16 @@ function _init() {
|
|
|
|
$.AdminLTE.boxWidget.activate(this);
|
|
|
|
$.AdminLTE.boxWidget.activate(this);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.fn.toggleBox = function(){
|
|
|
|
|
|
|
|
var button = $($.AdminLTE.boxWidget.selectors.collapse, this);
|
|
|
|
|
|
|
|
$.AdminLTE.boxWidget.collapse(button);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$.fn.removeBox = function(){
|
|
|
|
|
|
|
|
var button = $($.AdminLTE.boxWidget.selectors.remove, this);
|
|
|
|
|
|
|
|
$.AdminLTE.boxWidget.remove(button);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
})(jQuery);
|
|
|
|
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|