mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
acb094fa46
commit
59ede5b1e6
7 changed files with 52 additions and 34 deletions
|
@ -950,6 +950,8 @@
|
|||
});
|
||||
}
|
||||
|
||||
var serverId = ApiClient.serverInfo().Id;
|
||||
|
||||
require(['actionsheet'], function (actionsheet) {
|
||||
|
||||
actionsheet.show({
|
||||
|
@ -961,7 +963,10 @@
|
|||
|
||||
case 'share':
|
||||
require(['sharingmanager'], function (sharingManager) {
|
||||
sharingManager.showMenu(ApiClient, itemId);
|
||||
sharingManager.showMenu({
|
||||
serverId: serverId,
|
||||
itemId: itemId
|
||||
});
|
||||
});
|
||||
break;
|
||||
case 'addtocollection':
|
||||
|
@ -990,7 +995,8 @@
|
|||
fileDownloader.download([
|
||||
{
|
||||
url: downloadHref,
|
||||
itemId: itemId
|
||||
itemId: itemId,
|
||||
serverId: serverId
|
||||
}]);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue