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

@ -329,9 +329,21 @@
reloadItems(page);
// on here
$('.btnOrganize', page).taskButton({
mode: 'on',
progressElem: $('.organizeProgress', page),
taskKey: 'AutoOrganize'
});
}).on('pagehide', "#libraryFileOrganizerLogPage", function () {
currentResult = null;
// off here
$('.btnOrganize', page).taskButton({
mode: 'off'
});
});
window.OrganizerLogPage = {