1
0
Fork 0
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:
Luke Pulverenti 2016-05-21 22:28:47 -04:00
parent 57631a11ff
commit 6f2b1c2ef8
9 changed files with 447 additions and 249 deletions

View file

@ -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':