mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
AutoorganizeLog: Fixed error when log empty; re-introduced full reload on task completion
This commit is contained in:
parent
db42a915df
commit
30a8d63a16
1 changed files with 24 additions and 16 deletions
|
@ -205,25 +205,33 @@
|
|||
var btnPrevTop = topPaging.querySelector(".btnPreviousPage");
|
||||
var btnPrevBottom = bottomPaging.querySelector(".btnPreviousPage");
|
||||
|
||||
btnNextTop.addEventListener('click', function () {
|
||||
query.StartIndex += query.Limit;
|
||||
reloadItems(page, true);
|
||||
});
|
||||
if (btnNextTop) {
|
||||
btnNextTop.addEventListener('click', function () {
|
||||
query.StartIndex += query.Limit;
|
||||
reloadItems(page, true);
|
||||
});
|
||||
}
|
||||
|
||||
btnNextBottom.addEventListener('click', function () {
|
||||
query.StartIndex += query.Limit;
|
||||
reloadItems(page, true);
|
||||
});
|
||||
if (btnNextBottom) {
|
||||
btnNextBottom.addEventListener('click', function () {
|
||||
query.StartIndex += query.Limit;
|
||||
reloadItems(page, true);
|
||||
});
|
||||
}
|
||||
|
||||
btnPrevTop.addEventListener('click', function () {
|
||||
query.StartIndex -= query.Limit;
|
||||
reloadItems(page, true);
|
||||
});
|
||||
if (btnPrevTop) {
|
||||
btnPrevTop.addEventListener('click', function () {
|
||||
query.StartIndex -= query.Limit;
|
||||
reloadItems(page, true);
|
||||
});
|
||||
}
|
||||
|
||||
btnPrevBottom.addEventListener('click', function () {
|
||||
query.StartIndex -= query.Limit;
|
||||
reloadItems(page, true);
|
||||
});
|
||||
if (btnPrevBottom) {
|
||||
btnPrevBottom.addEventListener('click', function () {
|
||||
query.StartIndex -= query.Limit;
|
||||
reloadItems(page, true);
|
||||
});
|
||||
}
|
||||
|
||||
var btnClearLog = page.querySelector('.btnClearLog');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue