1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Cleanup all Legacy components

This commit is contained in:
MrTimscampi 2020-04-06 23:44:38 +02:00
parent a1132e9a9d
commit abb8d56db3
2 changed files with 10 additions and 4 deletions

View file

@ -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();

View file

@ -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;
};
});