mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
use common sharing manager
This commit is contained in:
parent
190f70bb71
commit
3657bdf7b7
10 changed files with 80 additions and 79 deletions
|
@ -960,8 +960,8 @@
|
|||
switch (id) {
|
||||
|
||||
case 'share':
|
||||
require(['sharingmanager'], function () {
|
||||
SharingManager.showMenu(Dashboard.getCurrentUserId(), itemId);
|
||||
require(['sharingmanager'], function (sharingManager) {
|
||||
sharingManager.showMenu(ApiClient, itemId);
|
||||
});
|
||||
break;
|
||||
case 'addtocollection':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue