1
0
Fork 0
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:
Luke Pulverenti 2014-05-31 10:30:59 -04:00
parent dcd20638c8
commit 2ba4a04377
8 changed files with 111 additions and 43 deletions

View file

@ -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) {