mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move completely to fetch
This commit is contained in:
parent
ee899a7332
commit
9932bc3eb5
168 changed files with 948 additions and 945 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
function validatePlayback(deferred) {
|
||||
|
||||
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
||||
Dashboard.getPluginSecurityInfo().then(function (pluginSecurityInfo) {
|
||||
|
||||
if (pluginSecurityInfo.IsMBSupporter) {
|
||||
deferred.resolve();
|
||||
|
@ -138,7 +138,7 @@
|
|||
|
||||
function validateSync(deferred) {
|
||||
|
||||
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
|
||||
Dashboard.getPluginSecurityInfo().then(function (pluginSecurityInfo) {
|
||||
|
||||
if (pluginSecurityInfo.IsMBSupporter) {
|
||||
deferred.resolve();
|
||||
|
@ -147,7 +147,7 @@
|
|||
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.getRegistrationInfo('Sync').done(function (registrationInfo) {
|
||||
ApiClient.getRegistrationInfo('Sync').then(function (registrationInfo) {
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
|
@ -161,7 +161,7 @@
|
|||
title: Globalize.translate('HeaderSync')
|
||||
});
|
||||
|
||||
}).fail(function () {
|
||||
}, function () {
|
||||
|
||||
Dashboard.hideLoadingMsg();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue