summaryrefslogtreecommitdiffstats
path: root/remoting/webapp
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-12 00:43:52 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-12 00:43:52 +0000
commitd7d434738efafbd212ae7a9b8b0e3f8148632b01 (patch)
treef6139e1b96e7bac68c69f437bca420e53d93a0a8 /remoting/webapp
parent48577b9cf5040d3535f7341a9e6cf31e6dc1bc19 (diff)
downloadchromium_src-d7d434738efafbd212ae7a9b8b0e3f8148632b01.zip
chromium_src-d7d434738efafbd212ae7a9b8b0e3f8148632b01.tar.gz
chromium_src-d7d434738efafbd212ae7a9b8b0e3f8148632b01.tar.bz2
Fix host installation prompt cancelation in CRD webapp.
When host installation is cancelled HostSetupDialog dialog is supposed to hide the installation prompt, but previously it only updated internal state, but not webapp UI state. BUG=350211 R=jamiewalch@chromium.org Review URL: https://codereview.chromium.org/196313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256372 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp')
-rw-r--r--remoting/webapp/host_setup_dialog.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/webapp/host_setup_dialog.js b/remoting/webapp/host_setup_dialog.js
index 055b6f4..800770b 100644
--- a/remoting/webapp/host_setup_dialog.js
+++ b/remoting/webapp/host_setup_dialog.js
@@ -362,6 +362,7 @@ remoting.HostSetupDialog.prototype.installHost_ = function() {
/** @param {remoting.Error} error */
var onError = function(error) {
flow.switchToErrorState(error);
+ that.updateState_();
}
/** @param {remoting.HostController.State} state */