Remove the edit box, even if no change is made to the host name.

BUG=None
TEST=Manual


Review URL: http://codereview.chromium.org/8624006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111294 0039d316-1c4b-4281-b951-d872f2087c98
parent efc3a40e
......@@ -152,10 +152,9 @@ remoting.HostTableEntry.prototype.commitRename_ = function() {
if (editBox) {
if (this.host.hostName != editBox.value) {
this.host.hostName = editBox.value;
this.removeEditBox_();
this.onRename_();
return;
}
this.removeEditBox_();
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment