mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update playlist management
This commit is contained in:
parent
893b492cbb
commit
7a6ac9c251
24 changed files with 121 additions and 79 deletions
|
@ -207,6 +207,18 @@
|
|||
reloadItems();
|
||||
});
|
||||
|
||||
view.querySelector('.btnNewPlaylist').addEventListener('click', function () {
|
||||
|
||||
require(['playlistEditor'], function (playlistEditor) {
|
||||
|
||||
var serverId = ApiClient.serverInfo().Id;
|
||||
new playlistEditor().show({
|
||||
items: [],
|
||||
serverId: serverId
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
onViewStyleChange();
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue