mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
3.0.5264.17006
This commit is contained in:
parent
dcd20638c8
commit
2ba4a04377
8 changed files with 111 additions and 43 deletions
|
@ -13,9 +13,7 @@
|
|||
DashboardPage.startInterval();
|
||||
|
||||
$(ApiClient).on("websocketmessage", DashboardPage.onWebSocketMessage)
|
||||
.on("websocketopen", DashboardPage.onWebSocketConnectionChange)
|
||||
.on("websocketerror", DashboardPage.onWebSocketConnectionChange)
|
||||
.on("websocketclose", DashboardPage.onWebSocketConnectionChange);
|
||||
.on("websocketopen", DashboardPage.onWebSocketOpen);
|
||||
|
||||
DashboardPage.lastAppUpdateCheck = null;
|
||||
DashboardPage.lastPluginUpdateCheck = null;
|
||||
|
@ -180,9 +178,8 @@
|
|||
}
|
||||
},
|
||||
|
||||
onWebSocketConnectionChange: function () {
|
||||
onWebSocketOpen: function () {
|
||||
|
||||
DashboardPage.stopInterval();
|
||||
DashboardPage.startInterval();
|
||||
},
|
||||
|
||||
|
@ -192,6 +189,10 @@
|
|||
|
||||
DashboardPage.renderInfo(page, sessions);
|
||||
});
|
||||
ApiClient.getScheduledTasks().done(function (tasks) {
|
||||
|
||||
DashboardPage.renderRunningTasks(page, tasks);
|
||||
});
|
||||
},
|
||||
|
||||
renderInfo: function (page, sessions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue