From 736d56fcc45217b4e0267b22dbda657493725b13 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 17 Nov 2016 13:18:19 -0500 Subject: [PATCH] improve series recording images --- dashboard-ui/components/tvproviders/xmltv.js | 2 +- dashboard-ui/scripts/moviegenres.js | 2 +- dashboard-ui/scripts/tvgenres.js | 15 ++++++++------- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/dashboard-ui/components/tvproviders/xmltv.js b/dashboard-ui/components/tvproviders/xmltv.js index 91b24fbae1..ec833260d0 100644 --- a/dashboard-ui/components/tvproviders/xmltv.js +++ b/dashboard-ui/components/tvproviders/xmltv.js @@ -74,7 +74,7 @@ info.Path = page.querySelector('.txtPath').value; - info.MoviePrefix = page.querySelector('.txtMoviePrefix') || null; + info.MoviePrefix = page.querySelector('.txtMoviePrefix').value || null; info.MovieCategories = getCategories(page.querySelector('.txtMovies')); info.KidsCategories = getCategories(page.querySelector('.txtKids')); diff --git a/dashboard-ui/scripts/moviegenres.js b/dashboard-ui/scripts/moviegenres.js index cde733049d..c7a80a809a 100644 --- a/dashboard-ui/scripts/moviegenres.js +++ b/dashboard-ui/scripts/moviegenres.js @@ -188,7 +188,7 @@ html += '

'; html += item.Name; html += '

'; - html += ''; html += ''; diff --git a/dashboard-ui/scripts/tvgenres.js b/dashboard-ui/scripts/tvgenres.js index dc11fe8fa5..f5d0debbbb 100644 --- a/dashboard-ui/scripts/tvgenres.js +++ b/dashboard-ui/scripts/tvgenres.js @@ -3,7 +3,7 @@ return function (view, params, tabContent) { - var self = this; + var self = this; var data = {}; function getPageData() { @@ -44,7 +44,7 @@ var query = getQuery(); return ApiClient.getGenres(Dashboard.getCurrentUserId(), query); - } + } function enableScrollX() { return browserInfo.mobile && AppInfo.enableAppLayouts; @@ -73,8 +73,8 @@ }, { passive: true - }); - + }); + function fillItemsContainer(elem) { var id = elem.getAttribute('data-id'); @@ -188,7 +188,7 @@ html += '

'; html += item.Name; html += '

'; - html += ''; html += ''; @@ -211,8 +211,9 @@ Dashboard.hideLoadingMsg(); }); - } - self.getViewStyles = function () { + } + + self.getViewStyles = function () { return 'Poster,PosterCard,Thumb,ThumbCard'.split(','); };