From 0f5b0b98b306cea59ea0b818566ce284da8ead39 Mon Sep 17 00:00:00 2001 From: "jamiewalch@google.com" Date: Thu, 23 Feb 2012 00:33:49 +0000 Subject: Make daemon state orthogonal to UI mode. Having the daemon state, which affects the home page, mixed in with the general UI modal state is going to cause problems when the home page is visible behind modal dialogs (it will essentially mean to AppModes for each dialog). Better to have it as an orthogonal state. BUG=115350 TEST=Manual Review URL: https://chromiumcodereview.appspot.com/9372128 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123153 0039d316-1c4b-4281-b951-d872f2087c98 --- remoting/webapp/event_handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'remoting/webapp/event_handlers.js') diff --git a/remoting/webapp/event_handlers.js b/remoting/webapp/event_handlers.js index 88a4e28..3b99b91 100644 --- a/remoting/webapp/event_handlers.js +++ b/remoting/webapp/event_handlers.js @@ -39,7 +39,7 @@ function onLoad() { }; var stopDaemon = function() { remoting.daemonPlugin.stop(); - remoting.setMode(remoting.daemonPlugin.uiMode()); + remoting.daemonPlugin.updateDom(); }; /** @type {Array.<{event: string, id: string, fn: function(Event):void}>} */ var actions = [ -- cgit v1.1