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

update photos

This commit is contained in:
Luke Pulverenti 2015-08-26 14:17:38 -04:00
parent 400202c5a0
commit 2b33df50a9
14 changed files with 75 additions and 270 deletions

View file

@ -785,8 +785,8 @@
return 'itemlist.html?topParentId=' + item.Id + '&parentid=' + item.Id;
}
if (item.Type == "PhotoAlbum" && context == 'photos') {
return "photos.html?parentId=" + id;
if (item.Type == "PhotoAlbum") {
return "itemlist.html?context=photos&parentId=" + id;
}
if (item.Type == "Playlist") {
return "itemdetails.html?id=" + id;
@ -1688,10 +1688,7 @@
var mediaSourceCount = item.MediaSourceCount || 1;
var href = options.linkItem === false ? '#' :
(options.useSecondaryItemsPage && item.IsFolder) ?
('secondaryitems.html?parentid=' + item.Id) :
LibraryBrowser.getHref(item, options.context);
var href = options.linkItem === false ? '#' : LibraryBrowser.getHref(item, options.context);
if (item.UserData) {
cssClass += ' ' + LibraryBrowser.getUserDataCssClass(item.UserData.Key);