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:
parent
40fc62a233
commit
a722ddc665
13 changed files with 191 additions and 210 deletions
|
@ -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'
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue