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:
parent
a1132e9a9d
commit
abb8d56db3
2 changed files with 10 additions and 4 deletions
|
@ -3,16 +3,20 @@ Dashboard.confirm = function(message, title, callback) {
|
||||||
require(["confirm"], function(confirm) {
|
require(["confirm"], function(confirm) {
|
||||||
confirm(message, title).then(function() {
|
confirm(message, title).then(function() {
|
||||||
callback(!0);
|
callback(!0);
|
||||||
}, function() {
|
}).catch(function() {
|
||||||
callback(!1);
|
callback(!1);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}, Dashboard.showLoadingMsg = function() {
|
};
|
||||||
|
|
||||||
|
Dashboard.showLoadingMsg = function() {
|
||||||
"use strict";
|
"use strict";
|
||||||
require(["loading"], function(loading) {
|
require(["loading"], function(loading) {
|
||||||
loading.show();
|
loading.show();
|
||||||
});
|
});
|
||||||
}, Dashboard.hideLoadingMsg = function() {
|
};
|
||||||
|
|
||||||
|
Dashboard.hideLoadingMsg = function() {
|
||||||
"use strict";
|
"use strict";
|
||||||
require(["loading"], function(loading) {
|
require(["loading"], function(loading) {
|
||||||
loading.hide();
|
loading.hide();
|
||||||
|
|
|
@ -4,7 +4,9 @@ define(["jQuery"], function($) {
|
||||||
return !0 === value || !1 === value ? $(this).each(function() {
|
return !0 === value || !1 === value ? $(this).each(function() {
|
||||||
this.checked = value;
|
this.checked = value;
|
||||||
}) : this.length && this[0].checked;
|
}) : this.length && this[0].checked;
|
||||||
}, $.fn.checkboxradio = function() {
|
};
|
||||||
|
|
||||||
|
$.fn.checkboxradio = function() {
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue