Cleanup all Legacy components
This commit is contained in:
@@ -3,16 +3,20 @@ Dashboard.confirm = function(message, title, callback) {
|
||||
require(["confirm"], function(confirm) {
|
||||
confirm(message, title).then(function() {
|
||||
callback(!0);
|
||||
}, function() {
|
||||
}).catch(function() {
|
||||
callback(!1);
|
||||
});
|
||||
});
|
||||
}, Dashboard.showLoadingMsg = function() {
|
||||
};
|
||||
|
||||
Dashboard.showLoadingMsg = function() {
|
||||
"use strict";
|
||||
require(["loading"], function(loading) {
|
||||
loading.show();
|
||||
});
|
||||
}, Dashboard.hideLoadingMsg = function() {
|
||||
};
|
||||
|
||||
Dashboard.hideLoadingMsg = function() {
|
||||
"use strict";
|
||||
require(["loading"], function(loading) {
|
||||
loading.hide();
|
||||
|
||||
@@ -4,7 +4,9 @@ define(["jQuery"], function($) {
|
||||
return !0 === value || !1 === value ? $(this).each(function() {
|
||||
this.checked = value;
|
||||
}) : this.length && this[0].checked;
|
||||
}, $.fn.checkboxradio = function() {
|
||||
};
|
||||
|
||||
$.fn.checkboxradio = function() {
|
||||
return this;
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user