mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add resume capability to GetTempFile
This commit is contained in:
parent
e697585145
commit
7ee39b6f88
1 changed files with 17 additions and 14 deletions
|
@ -397,11 +397,15 @@ var Dashboard = {
|
||||||
if (!info.HasPendingRestart) {
|
if (!info.HasPendingRestart) {
|
||||||
Dashboard.reloadPage();
|
Dashboard.reloadPage();
|
||||||
} else {
|
} else {
|
||||||
Dashboard.reloadPageWhenServerAvailable(retryCount);
|
Dashboard.retryReload(retryCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
}).fail(function() {
|
}).fail(function() {
|
||||||
|
Dashboard.retryReload(retryCount);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
retryReload: function (retryCount) {
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
|
||||||
retryCount = retryCount || 0;
|
retryCount = retryCount || 0;
|
||||||
|
@ -413,7 +417,6 @@ var Dashboard = {
|
||||||
Dashboard.suppressAjaxErrors = false;
|
Dashboard.suppressAjaxErrors = false;
|
||||||
}
|
}
|
||||||
}, 500);
|
}, 500);
|
||||||
});
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getPosterViewHtml: function (options) {
|
getPosterViewHtml: function (options) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue