1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-04-28 00:53:11 -04:00
parent acb094fa46
commit 59ede5b1e6
7 changed files with 52 additions and 34 deletions

View file

@ -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
}]);
});