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
|
@ -22,7 +22,7 @@
|
|||
var promise1 = ApiClient.getJSON(ApiClient.getUrl('Devices/Info', { Id: id }));
|
||||
var promise2 = ApiClient.getJSON(ApiClient.getUrl('Devices/Capabilities', { Id: id }));
|
||||
|
||||
$.when(promise1, promise2).done(function (response1, response2) {
|
||||
$.when(promise1, promise2).then(function (response1, response2) {
|
||||
|
||||
load(page, response1[0], response2[0]);
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
|||
}),
|
||||
contentType: "application/json"
|
||||
|
||||
}).done(Dashboard.processServerConfigurationUpdateResult);
|
||||
}).then(Dashboard.processServerConfigurationUpdateResult);
|
||||
}
|
||||
|
||||
function onSubmit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue