mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use shared collectioneditor
This commit is contained in:
parent
57631a11ff
commit
6f2b1c2ef8
9 changed files with 447 additions and 249 deletions
|
@ -929,9 +929,12 @@
|
|||
});
|
||||
break;
|
||||
case 'addtocollection':
|
||||
require(['collectioneditor'], function (collectioneditor) {
|
||||
require(['collectionEditor'], function (collectionEditor) {
|
||||
|
||||
new collectioneditor().show([itemId]);
|
||||
new collectionEditor().show({
|
||||
items: [itemId],
|
||||
serverId: serverId
|
||||
});
|
||||
});
|
||||
break;
|
||||
case 'playlist':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue