mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
enable back button on sort menus
This commit is contained in:
parent
146e2688fe
commit
80929558e6
31 changed files with 54 additions and 35 deletions
|
@ -25,6 +25,11 @@
|
|||
|
||||
},
|
||||
|
||||
getSavedQueryKey: function (modifier) {
|
||||
|
||||
return getWindowUrl().split('#')[0] + (modifier || '');
|
||||
},
|
||||
|
||||
loadSavedQueryValues: function (key, query) {
|
||||
|
||||
var values = appStorage.getItem(key + '_' + Dashboard.getCurrentUserId());
|
||||
|
@ -2793,8 +2798,7 @@
|
|||
|
||||
require(['components/paperdialoghelper'], function () {
|
||||
|
||||
//PaperDialogHelper.openWithHash(dlg, 'sortmenu');
|
||||
dlg.open();
|
||||
PaperDialogHelper.openWithHash(dlg, 'sortmenu');
|
||||
|
||||
$('.groupSortBy', dlg).on('iron-select', function () {
|
||||
options.query.SortBy = this.selected.replace('_', ',');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue