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
7
dashboard-ui/cordova/serverdiscovery.js
vendored
7
dashboard-ui/cordova/serverdiscovery.js
vendored
|
@ -146,17 +146,18 @@
|
|||
|
||||
var deferred = DeferredBuilder.Deferred();
|
||||
|
||||
deviceReadyPromise.done(function () {
|
||||
deviceReadyPromise.then(function () {
|
||||
|
||||
try {
|
||||
findServersInternal(timeoutMs).done(function (result) {
|
||||
findServersInternal(timeoutMs).then(function (result) {
|
||||
|
||||
deferred.resolveWith(null, [result]);
|
||||
|
||||
}).fail(function () {
|
||||
}, function () {
|
||||
|
||||
deferred.resolveWith(null, [[]]);
|
||||
});
|
||||
|
||||
} catch (err) {
|
||||
deferred.resolveWith(null, [[]]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue