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

@ -249,6 +249,7 @@
var albumid = card.getAttribute('data-albumid');
var artistid = card.getAttribute('data-artistid');
var serverId = ApiClient.serverInfo().Id;
Dashboard.getCurrentUser().then(function (user) {
@ -494,7 +495,8 @@
fileDownloader.download([
{
url: downloadHref,
itemId: itemId
itemId: itemId,
serverId: serverId
}]);
});
@ -577,7 +579,10 @@
break;
case 'share':
require(['sharingmanager'], function (sharingManager) {
sharingManager.showMenu(ApiClient, itemId);
sharingManager.showMenu({
serverId: serverId,
itemId: itemId
});
});
break;
case 'removefromplaylist':