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

update live tv scrolling

This commit is contained in:
Luke Pulverenti 2015-06-07 21:23:56 -04:00
parent 4a0f78149a
commit 3920d73045
39 changed files with 404 additions and 415 deletions

View file

@ -179,17 +179,10 @@
}
}
$(document).on('pageshow', "#scheduledTasksPage", function () {
$(document).on('pageinitdepends', "#scheduledTasksPage", function () {
var page = this;
Dashboard.showLoadingMsg();
startInterval();
reloadList(page);
$(ApiClient).on("websocketmessage", onWebSocketMessage).on("websocketopen", onWebSocketConnectionOpen);
$('#divScheduledTasks', page).on('click', '.btnStartTask', function () {
var button = this;
@ -211,6 +204,17 @@
});
});
}).on('pageshowready', "#scheduledTasksPage", function () {
var page = this;
Dashboard.showLoadingMsg();
startInterval();
reloadList(page);
$(ApiClient).on("websocketmessage", onWebSocketMessage).on("websocketopen", onWebSocketConnectionOpen);
}).on('pagehide', "#scheduledTasksPage", function () {
var page = this;