1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

added a-z picker to more screens

This commit is contained in:
Luke Pulverenti 2013-05-16 16:46:18 -04:00
parent 3e88762620
commit 73c8898800
8 changed files with 57 additions and 5 deletions

View file

@ -98,6 +98,19 @@
reloadItems(page);
});
$('.alphabetPicker', this).on('alphaselect', function (e, character) {
query.NameStartsWith = character;
reloadItems(page);
}).on('alphaclear', function (e) {
query.NameStartsWith = '';
reloadItems(page);
});
}).on('pagebeforeshow', "#musicArtistsPage", function () {
var limit = LibraryBrowser.getDefaultPageSize();
@ -126,6 +139,8 @@
}).checkboxradio('refresh');
$('#chkIsOnTour', this).checked(query.IsOnTour === true).checkboxradio('refresh');
$('.alphabetPicker', this).alphaValue(query.NameStartsWith);
});
})(jQuery, document);