-
${HeaderTags}
+
-
diff --git a/dashboard-ui/scripts/movies.js b/dashboard-ui/scripts/movies.js
index 76c9aea1ca..055f7d366a 100644
--- a/dashboard-ui/scripts/movies.js
+++ b/dashboard-ui/scripts/movies.js
@@ -270,9 +270,9 @@
}).checkboxradio('refresh');
- $('.chk3D', viewPanel).checked(query.Is3D == true).checkboxradio('refresh');
- $('.chkHD', viewPanel).checked(query.IsHD == true).checkboxradio('refresh');
- $('.chkSD', viewPanel).checked(query.IsHD == false).checkboxradio('refresh');
+ $('.chk3DFilter', viewPanel).checked(query.Is3D == true).checkboxradio('refresh');
+ $('.chkHDFilter', viewPanel).checked(query.IsHD == true).checkboxradio('refresh');
+ $('.chkSDFilter', viewPanel).checked(query.IsHD == false).checkboxradio('refresh');
$('.alphabetPicker', tabContent).alphaValue(query.NameStartsWithOrGreater);
}
@@ -335,7 +335,7 @@
reloadItems(tabContent, viewPanel);
});
- $('.chk3D', viewPanel).on('change', function () {
+ $('.chk3DFilter', viewPanel).on('change', function () {
var query = getQuery();
query.StartIndex = 0;
@@ -344,16 +344,15 @@
reloadItems(tabContent, viewPanel);
});
- $('.chkHD', viewPanel).on('change', function () {
+ $('.chkHDFilter', viewPanel).on('change', function () {
var query = getQuery();
query.StartIndex = 0;
query.IsHD = this.checked ? true : null;
-
reloadItems(tabContent, viewPanel);
});
- $('.chkSD', viewPanel).on('change', function () {
+ $('.chkSDFilter', viewPanel).on('change', function () {
var query = getQuery();
query.StartIndex = 0;
diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js
index 9034e7d2a1..dc6823fae0 100644
--- a/dashboard-ui/scripts/site.js
+++ b/dashboard-ui/scripts/site.js
@@ -1887,7 +1887,7 @@ var AppInfo = {};
var apiClient = window.ApiClient;
// Close the connection gracefully when possible
- if (apiClient && apiClient.isWebSocketOpen()) {
+ if (apiCblient && apiClient.isWebSocketOpen()) {
var localActivePlayers = MediaController.getPlayers().filter(function (p) {
diff --git a/dashboard-ui/themes/ios.css b/dashboard-ui/themes/ios.css
index 457eeb630a..94358f580b 100644
--- a/dashboard-ui/themes/ios.css
+++ b/dashboard-ui/themes/ios.css
@@ -50,6 +50,10 @@ html, body, .ui-btn, .pageTitle {
margin: 0 auto 6px;
}
+.libraryViewNav paper-tabs iron-icon {
+ margin: 6px auto 6px;
+}
+
.libraryViewNav #selectionBar {
background-color: transparent !important;
}
diff --git a/dashboard-ui/thirdparty/paper-button-style.css b/dashboard-ui/thirdparty/paper-button-style.css
index 95e42bb9b3..e6752419fe 100644
--- a/dashboard-ui/thirdparty/paper-button-style.css
+++ b/dashboard-ui/thirdparty/paper-button-style.css
@@ -329,6 +329,46 @@ paper-menu-item {
display: none !important;
}
+.libraryViewNav #tabsContainer {
+ margin: auto;
+ -ms-flex: auto;
+ -webkit-flex: auto;
+ flex: auto;
+ -ms-flex: none;
+ -webkit-flex: none;
+ flex: none;
+ flex-shrink: 0;
+}
+
+.libraryViewNav paper-tabs {
+ /*display: block !important;*/
+ flex: none;
+ flex-shrink: 0;
+ flex-grow: 0;
+}
+
+.libraryViewNav paper-tab {
+ display: inline-block !important;
+ flex: none;
+ flex-shrink: 0;
+ flex-grow: 0;
+}
+
+.papertabs-800 {
+ min-width: 800px;
+}
+
+.scrollingPaperTabs #tabsContainer {
+ margin: 0;
+}
+
+@media all and (min-width: 800px) {
+
+ .papertabs-800 #tabsContainer {
+ margin: auto;
+ }
+}
+
/*.scrollablePaperTabs #tabsContainer {
text-align: center;
overflow-x: scroll;