From 2ebcfe8642ee6b4d071cc83924688f8631948e3f Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Fri, 3 Jun 2016 12:24:04 -0400 Subject: [PATCH] add images table --- .../emby-apiclient/connectionmanager.js | 4 + dashboard-ui/devicesupload.html | 10 +-- dashboard-ui/mypreferenceshome.html | 13 ---- dashboard-ui/scripts/devicesupload.js | 76 +------------------ dashboard-ui/scripts/mypreferenceshome.js | 48 +----------- dashboard-ui/scripts/site.js | 2 +- 6 files changed, 12 insertions(+), 141 deletions(-) diff --git a/dashboard-ui/bower_components/emby-apiclient/connectionmanager.js b/dashboard-ui/bower_components/emby-apiclient/connectionmanager.js index 82ebddd015..aad6c10b67 100644 --- a/dashboard-ui/bower_components/emby-apiclient/connectionmanager.js +++ b/dashboard-ui/bower_components/emby-apiclient/connectionmanager.js @@ -309,6 +309,7 @@ existingServer.DateLastAccessed = new Date().getTime(); existingServer.LastConnectionMode = ConnectionMode.Manual; existingServer.ManualAddress = apiClient.serverAddress(); + existingServer.PreferredConnectionMode = ConnectionMode.Manual; apiClient.serverInfo(existingServer); apiClient.onAuthenticated = function (instance, result) { @@ -997,6 +998,9 @@ if (server.LastConnectionMode != null) { //tests.push(server.LastConnectionMode); } + if (server.PreferredConnectionMode != null) { + tests.push(server.PreferredConnectionMode); + } if (tests.indexOf(ConnectionMode.Manual) == -1) { tests.push(ConnectionMode.Manual); } if (tests.indexOf(ConnectionMode.Local) == -1) { tests.push(ConnectionMode.Local); } if (tests.indexOf(ConnectionMode.Remote) == -1) { tests.push(ConnectionMode.Remote); } diff --git a/dashboard-ui/devicesupload.html b/dashboard-ui/devicesupload.html index 5609d22ff8..1da43de5d3 100644 --- a/dashboard-ui/devicesupload.html +++ b/dashboard-ui/devicesupload.html @@ -7,16 +7,8 @@

${HeaderCameraUploadHelp}

- +
-
- - -
- -
- -