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

add organize now/sync prepare buttons

This commit is contained in:
Luke Pulverenti 2015-01-20 15:19:54 -05:00
parent 40fc62a233
commit a722ddc665
13 changed files with 191 additions and 210 deletions

View file

@ -246,6 +246,25 @@
reloadData(page);
// on here
$('.btnSync', page).taskButton({
mode: 'on',
progressElem: $('.syncProgress', page),
taskKey: 'SyncPrepare'
});
}).on('pagehide', ".syncActivityPage", function () {
var page = this;
reloadData(page);
// off here
$('.btnSync', page).taskButton({
mode: 'off'
});
});
})();