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

@ -108,6 +108,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', "#tvPeoplePage", function () {
var limit = LibraryBrowser.getDefaultPageSize();
@ -152,6 +165,8 @@
this.checked = filters.indexOf(',' + filterName) != -1;
}).checkboxradio('refresh');
$('.alphabetPicker', this).alphaValue(query.NameStartsWith);
});
})(jQuery, document);