diff options
author | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-03 07:46:34 +0000 |
---|---|---|
committer | jamiewalch@chromium.org <jamiewalch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-03 07:46:34 +0000 |
commit | 4f8836763093434b2c1d39b2585468beb1f98ad8 (patch) | |
tree | 1d663251b65f43c5f5c1269e8aa08eee06ece255 /remoting/webapp | |
parent | 43e5b6e3ba385edf5986fa68b6da115abfd36b7c (diff) | |
download | chromium_src-4f8836763093434b2c1d39b2585468beb1f98ad8.zip chromium_src-4f8836763093434b2c1d39b2585468beb1f98ad8.tar.gz chromium_src-4f8836763093434b2c1d39b2585468beb1f98ad8.tar.bz2 |
Restore clickable status after canceling host rename.
BUG=224680
Review URL: https://chromiumcodereview.appspot.com/13416003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp')
-rw-r--r-- | remoting/webapp/host_table_entry.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/webapp/host_table_entry.js b/remoting/webapp/host_table_entry.js index c564b5d..3ba5189 100644 --- a/remoting/webapp/host_table_entry.js +++ b/remoting/webapp/host_table_entry.js @@ -236,8 +236,6 @@ remoting.HostTableEntry.prototype.commitRename_ = function() { this.host.hostName = editBox.value; this.onRename_(this); } - // Update the tool-top and event handler. - this.updateStatus(); this.removeEditBox_(); } }; @@ -306,6 +304,8 @@ remoting.HostTableEntry.prototype.removeEditBox_ = function() { // onblur will fire when the edit box is removed, so remove the hook. editBox.removeEventListener('blur', this.onBlurReference_, false); } + // Update the tool-top and event handler. + this.updateStatus(); this.setHostName_(); }; |