mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update filter and sorting menus
This commit is contained in:
parent
c65749da5a
commit
1044d68ba6
14 changed files with 265 additions and 211 deletions
|
@ -2947,14 +2947,7 @@
|
|||
dlg.innerHTML = html;
|
||||
document.body.appendChild(dlg);
|
||||
|
||||
var fireCallbackOnClose = false;
|
||||
|
||||
paperDialogHelper.open(dlg).then(function () {
|
||||
|
||||
if (options.callback && fireCallbackOnClose) {
|
||||
options.callback();
|
||||
}
|
||||
});
|
||||
paperDialogHelper.open(dlg);
|
||||
|
||||
$('.groupSortBy', dlg).on('iron-select', function () {
|
||||
|
||||
|
@ -2965,7 +2958,7 @@
|
|||
options.query.StartIndex = 0;
|
||||
|
||||
if (options.callback && changed) {
|
||||
fireCallbackOnClose = true;
|
||||
options.callback();
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -2978,7 +2971,7 @@
|
|||
options.query.StartIndex = 0;
|
||||
|
||||
if (options.callback && changed) {
|
||||
fireCallbackOnClose = true;
|
||||
options.callback();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue