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

update jqm

This commit is contained in:
Luke Pulverenti 2015-09-05 12:58:27 -04:00
parent 6b21f2fbd0
commit 8996ae4eab
39 changed files with 1162 additions and 686 deletions

View file

@ -670,6 +670,10 @@
commands.push('download');
}
if (LibraryBrowser.canShare(item, user)) {
commands.push('share');
}
return commands;
},
@ -760,6 +764,14 @@
});
}
if (commands.indexOf('share') != -1) {
items.push({
name: Globalize.translate('ButtonShare'),
id: 'share',
ironIcon: 'share'
});
}
require(['actionsheet'], function () {
ActionSheetElement.show({
@ -769,6 +781,11 @@
switch (id) {
case 'share':
require(['sharingmanager'], function () {
SharingManager.showMenu(Dashboard.getCurrentUserId(), itemId);
});
break;
case 'addtocollection':
BoxSetEditor.showPanel([itemId]);
break;