diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 30dcb0b50..c23c2fd53 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -1443,7 +1443,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { width: 70px; height: 70px; background-repeat: no-repeat; - background-size: cover; + background-size: contain; background-position: center center; } diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js index dae19241a..3c6b1a6eb 100644 --- a/dashboard-ui/scripts/itemdetailpage.js +++ b/dashboard-ui/scripts/itemdetailpage.js @@ -1568,8 +1568,13 @@ } function onItemDeleted(e, itemId) { + if (currentItem && currentItem.Id == itemId) { - Dashboard.navigate('index.html'); + if (currentItem.Type == 'Recording') { + Dashboard.navigate('livetv.html'); + } else { + Dashboard.navigate('index.html'); + } } } diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index d0c417762..35d6465b3 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -1106,13 +1106,13 @@ if (textlines.length > 1 && verticalTextLines > 1) { html += '

'; - html += textlines[1]; + html += textlines[1] || ' '; html += '

'; } if (textlines.length > 2 && verticalTextLines > 2) { html += '

'; - html += textlines[2]; + html += textlines[2] || ' '; html += '

'; }