diff --git a/dashboard-ui/scripts/favorites.js b/dashboard-ui/scripts/favorites.js index 5f56c38909..8dddd8af83 100644 --- a/dashboard-ui/scripts/favorites.js +++ b/dashboard-ui/scripts/favorites.js @@ -5,6 +5,7 @@ return [ { name: "Favorite Movies", types: "Movie", id: "favoriteMovies", shape: 'backdrop', preferThumb: true, showTitle: false }, { name: "Favorite Shows", types: "Series", id: "favoriteShows", shape: 'backdrop', preferThumb: true, showTitle: false }, + { name: "Favorite Episodes", types: "Episode", id: "favoriteEpisode", shape: 'backdrop', preferThumb: false, showTitle: true, showParentTitle: true }, { name: "Favorite Games", types: "Game", id: "favoriteGames", shape: 'auto', preferThumb: false, showTitle: true } ]; @@ -45,6 +46,7 @@ overlayText: screenWidth >= 600, context: 'home-favorites', showTitle: section.showTitle, + showParentTitle: section.showParentTitle, lazy: true }); diff --git a/dashboard-ui/scripts/indexpage.js b/dashboard-ui/scripts/indexpage.js index d808ee3a65..90899a5218 100644 --- a/dashboard-ui/scripts/indexpage.js +++ b/dashboard-ui/scripts/indexpage.js @@ -193,13 +193,14 @@ shape: 'backdrop', showTitle: true, centerText: true, - context: 'home' + context: 'home', + lazy: true }); html += ''; } - $(elem).html(html).createPosterItemMenus(); + $(elem).html(html).trigger('create').createPosterItemMenus(); }); } @@ -222,13 +223,14 @@ items: result.Items, shape: 'backdrop', showTitle: true, - centerText: true + centerText: true, + lazy: true }); html += ''; } - $(elem).html(html).createPosterItemMenus(); + $(elem).html(html).trigger('create').createPosterItemMenus(); handleLibraryLinkNavigations(elem); }); @@ -265,12 +267,13 @@ overlayText: screenWidth >= 600, showTitle: true, showParentTitle: true, - context: 'home' + context: 'home', + lazy: true }); html += ''; } - $(elem).html(html).createPosterItemMenus(); + $(elem).html(html).trigger('create').createPosterItemMenus(); }); }