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

added new device profiles

This commit is contained in:
Luke Pulverenti 2014-07-16 23:17:14 -04:00
parent b9ac022c81
commit 433cee5164
17 changed files with 296 additions and 313 deletions

View file

@ -354,7 +354,7 @@
$('.playFlyout').popup("close").remove();
},
getHref: function (item, context) {
getHref: function (item, context, topParentId) {
var href = LibraryBrowser.getHrefInternal(item);
@ -363,6 +363,15 @@
href += context;
}
if (topParentId == null) {
topParentId = LibraryMenu.getTopParentId();
}
if (topParentId) {
href += href.indexOf('?') == -1 ? "?topParentId=" : "&topParentId=";
href += topParentId;
}
return href;
},