1
0
Fork 0
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:
Luke Pulverenti 2015-11-28 03:07:44 -05:00
parent ee899a7332
commit 9932bc3eb5
168 changed files with 948 additions and 945 deletions

View file

@ -49,7 +49,7 @@
contentType: "application/json",
dataType: 'json'
}).done(function () {
}).then(function () {
panel.panel('close');
$(window.SyncManager).trigger('jobsubmit');
@ -197,7 +197,7 @@
function showSyncMenu(options) {
requirejs(["scripts/registrationservices", "jqmcollapsible", "jqmpanel"], function () {
RegistrationServices.validateFeature('sync').done(function () {
RegistrationServices.validateFeature('sync').then(function () {
showSyncMenuInternal(options);
});
});
@ -217,7 +217,7 @@
Category: options.Category
};
ApiClient.fetchJSON(ApiClient.getUrl('Sync/Options', dialogOptionsQuery)).then(function (dialogOptions) {
ApiClient.getJSON(ApiClient.getUrl('Sync/Options', dialogOptionsQuery)).then(function (dialogOptions) {
currentDialogOptions = dialogOptions;
@ -314,7 +314,7 @@
function loadQualityOptions(form, targetId, dialogOptionsFn) {
dialogOptionsFn(targetId).done(function (options) {
dialogOptionsFn(targetId).then(function (options) {
renderTargetDialogOptions(form, options);
});