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

Unified Diff: remoting/webapp/host_controller.js

Issue 10703034: Remove 'Enable' button on unsupported platforms. Added 'No hosts' message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
Index: remoting/webapp/host_controller.js
diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js
index 845e65dabec4c10094eeff381036d440b5fdbfcb..f59de30f307cd682cffbb3bfe3c3c8376069be3f 100644
--- a/remoting/webapp/host_controller.js
+++ b/remoting/webapp/host_controller.js
@@ -85,11 +85,8 @@ remoting.HostController.prototype.updateDom = function() {
remoting.updateModalUi('enabled', 'data-daemon-state');
break;
case remoting.HostController.State.NOT_IMPLEMENTED:
- document.getElementById('start-daemon').disabled = true;
- document.getElementById('start-daemon-message').innerText =
- chrome.i18n.getMessage(
- /*i18n-content*/'HOME_DAEMON_DISABLED_MESSAGE');
- // No break;
+ document.getElementById('daemon-control').hidden = true;
+ break;
case remoting.HostController.State.STOPPED:
case remoting.HostController.State.NOT_INSTALLED:
remoting.updateModalUi('disabled', 'data-daemon-state');

Powered by Google App Engine
This is Rietveld 408576698