Update AdminLTE

- from 2.4.5 to 2.4.18 (cannot detect any issues)
- set default scancycle for Apple Devices to 1
This commit is contained in:
leiweibau
2022-07-11 21:34:04 +02:00
parent a5a060b7c0
commit b2d2e3e9b6
3506 changed files with 228613 additions and 134604 deletions

View File

@@ -35,7 +35,7 @@
var BoxRefresh = function (element, options) {
this.element = element;
this.options = options;
this.$overlay = $(options.overlay);
this.$overlay = $(options.overlayTemplate);
if (options.source === '') {
throw new Error('Source url was not defined. Please specify a url in your BoxRefresh source option.');
@@ -51,7 +51,7 @@
$.get(this.options.source, this.options.params, function (response) {
if (this.options.loadInContent) {
$(this.options.content).html(response);
$(this.element).find(this.options.content).html(response);
}
this.options.onLoadDone.call($(this), response);
this._removeOverlay();
@@ -61,7 +61,7 @@
// Private
BoxRefresh.prototype._setUpListeners = function () {
$(this.element).on('click', Selector.trigger, function (event) {
$(this.element).on('click', this.options.trigger, function (event) {
if (event) event.preventDefault();
this.load();
}.bind(this));
@@ -72,7 +72,7 @@
};
BoxRefresh.prototype._removeOverlay = function () {
$(this.element).remove(this.$overlay);
$(this.$overlay).remove();
};
// Plugin Definition