1
0
Fork 0
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:
Luke Pulverenti 2015-10-15 00:32:10 -04:00
parent 146e2688fe
commit 80929558e6
31 changed files with 54 additions and 35 deletions

View file

@ -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('_', ',');