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

collection fixes

This commit is contained in:
Luke Pulverenti 2015-10-14 01:46:11 -04:00
parent 8f05744009
commit add9159c97
10 changed files with 280 additions and 294 deletions

View file

@ -191,14 +191,14 @@
function initPage(tabContent) {
$('select.selectView').on('change', function () {
// The button is created dynamically
$('.btnNewCollection', tabContent).on('click', function () {
var newView = this.value;
getPageData().view = newView;
require(['collectioneditor'], function (collectioneditor) {
reloadItems(tabContent);
new collectioneditor().show();
LibraryBrowser.saveViewSetting(getSavedQueryKey(), newView);
});
});
}