diff --git a/dashboard-ui/itembynamedetails.html b/dashboard-ui/itembynamedetails.html index 9386d9fad2..67befae75c 100644 --- a/dashboard-ui/itembynamedetails.html +++ b/dashboard-ui/itembynamedetails.html @@ -141,7 +141,7 @@
${ButtonSync} - +
@@ -150,7 +150,7 @@
${ButtonSync} - +

diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js index 4011981710..07bdea04fc 100644 --- a/dashboard-ui/scripts/librarybrowser.js +++ b/dashboard-ui/scripts/librarybrowser.js @@ -2203,12 +2203,16 @@ url = "css/images/items/detail/video.png"; } - if (!href) { - href = "#"; + html += '
'; + + if (href) { + html += ""; } - html += '
'; html += ""; + if (href) { + html += ""; + } var progressHtml = item.IsFolder ? '' : LibraryBrowser.getItemProgressBarHtml((item.Type == 'Recording' ? item : item.UserData)); @@ -2318,12 +2322,12 @@ shape = 'square'; } - if (!href) { - href = "#"; - } - html += '
'; + if (href) { + html += ""; + } + if (detectRatio && item.PrimaryImageAspectRatio) { if (item.PrimaryImageAspectRatio >= 1.48) { @@ -2335,6 +2339,10 @@ html += ""; + if (href) { + html += ""; + } + var progressHtml = item.IsFolder ? '' : LibraryBrowser.getItemProgressBarHtml((item.Type == 'Recording' ? item : item.UserData)); if (progressHtml) {