update remove from playlist, collection id

This commit is contained in:
Luke Pulverenti 2016-07-20 16:45:50 -04:00
parent 79240b1a24
commit 17cb2f5da1
9 changed files with 59 additions and 22 deletions

View file

@ -1125,7 +1125,7 @@
html += '<button class="btnAddToCollection autoSize" type="button" is="paper-icon-button-light" style="margin-left:1em;"><i class="md-icon" icon="add">add</i></button>';
html += '</div>';
html += '<div is="emby-itemscontainer" class="detailSectionContent itemsContainer" data-collectionid="' + parentItem.Id + '">';
html += '<div is="emby-itemscontainer" class="detailSectionContent itemsContainer">';
var shape = type.type == 'MusicAlbum' ? 'detailPageSquare' : 'detailPagePortrait';
@ -1138,7 +1138,8 @@
showDetailsMenu: true,
overlayMoreButton: true,
showAddToCollection: false,
showRemoveFromCollection: true
showRemoveFromCollection: true,
collectionId: parentItem.Id
});
html += '</div>';