1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-12-11 00:27:08 -05:00
parent 6dd7d96397
commit 1f519c45c7
2 changed files with 12 additions and 9 deletions

View file

@ -16,12 +16,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.1.104", "version": "1.1.105",
"_release": "1.1.104", "_release": "1.1.105",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.1.104", "tag": "1.1.105",
"commit": "61e924b71080aa117e48dc26323489895ffd62d1" "commit": "d46515271d43d1b0f7dd19bb1834cfd457fb3326"
}, },
"_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git", "_source": "https://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
"_target": "^1.1.51", "_target": "^1.1.51",

View file

@ -266,7 +266,7 @@
resolve(response); resolve(response);
}, function (error) { }, function (error) {
clearTimeout(timeout); clearTimeout(timeout);
reject(); reject(error);
}); });
}); });
} }
@ -448,11 +448,14 @@
}, function (error) { }, function (error) {
console.log("Request failed to " + request.url); if (error) {
console.log("Request failed to " + request.url + ' ' + error.toString());
// http://api.jquery.com/jQuery.ajax/ } else {
if (enableReconnection) { console.log("Request timed out to " + request.url + ' ' + error.toString());
}
// http://api.jquery.com/jQuery.ajax/
if (!error && enableReconnection) {
console.log("Attempting reconnection"); console.log("Attempting reconnection");
var previousServerAddress = self.serverAddress(); var previousServerAddress = self.serverAddress();