Index: remoting/webapp/crd/js/host_list.js |
diff --git a/remoting/webapp/crd/js/host_list.js b/remoting/webapp/crd/js/host_list.js |
index 81180152549a48df6607d5fec12f87b8c42ff9fa..f935e8b643ced94ff6f4d0c47cb6817c15b3f266 100644 |
--- a/remoting/webapp/crd/js/host_list.js |
+++ b/remoting/webapp/crd/js/host_list.js |
@@ -48,7 +48,7 @@ remoting.HostList = function(table, noHosts, errorMsg, errorButton, |
/** @private {Array<remoting.Host>} */ |
this.hosts_ = []; |
/** @private {!remoting.Error} */ |
- this.lastError_ = remoting.Error.NONE; |
+ this.lastError_ = remoting.Error.none(); |
/** @private {remoting.LocalHostSection} */ |
this.localHostSection_ = new remoting.LocalHostSection( |
/** @type {HTMLElement} */ (document.querySelector('.daemon-control')), |
@@ -157,7 +157,7 @@ remoting.HostList.prototype.refresh = function(onDone) { |
* @private |
*/ |
remoting.HostList.prototype.onHostListResponse_ = function(onDone, hosts) { |
- this.lastError_ = remoting.Error.NONE; |
+ this.lastError_ = remoting.Error.none(); |
this.hosts_ = hosts; |
this.sortHosts_(); |
this.save_(); |