summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--remoting/webapp/host_table_entry.js4
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_();
};