Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(595)

Unified Diff: remoting/webapp/host_list.js

Issue 159753008: Disable Me2Me host controls on unsupported Linux systems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/tools/me2me_virtual_host.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/host_list.js
diff --git a/remoting/webapp/host_list.js b/remoting/webapp/host_list.js
index 9a1fcb8079dd886df5f66beda666c1bcc5f72725..a1faa39dc637850f8ef5d54b0db321b29791836e 100644
--- a/remoting/webapp/host_list.js
+++ b/remoting/webapp/host_list.js
@@ -306,7 +306,8 @@ remoting.HostList.prototype.display = function() {
var enabled = (state == remoting.HostController.State.STARTING) ||
(state == remoting.HostController.State.STARTED);
var canChangeLocalHostState =
- (state != remoting.HostController.State.NOT_IMPLEMENTED) &&
+ (state != remoting.HostController.State.NOT_IMPLEMENTED &&
+ state != remoting.HostController.State.UNKNOWN) &&
(enabled || this.lastError_ == '');
remoting.updateModalUi(enabled ? 'enabled' : 'disabled', 'data-daemon-state');
« no previous file with comments | « remoting/tools/me2me_virtual_host.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698