mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
collection fixes
This commit is contained in:
parent
8f05744009
commit
add9159c97
10 changed files with 280 additions and 294 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue