diff options
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/webapp/host_list.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/remoting/webapp/host_list.js b/remoting/webapp/host_list.js index b0f10d5..1dd6c46 100644 --- a/remoting/webapp/host_list.js +++ b/remoting/webapp/host_list.js @@ -164,7 +164,9 @@ remoting.HostList.prototype.parseHostListResponse_ = function(onDone, xhr) { } else { // Some other error. console.error('Bad status on host list query: ', xhr); - if (xhr.status == 401) { + if (xhr.status == 0) { + this.lastError_ = remoting.Error.NO_RESPONSE; + } else if (xhr.status == 401) { this.lastError_ = remoting.Error.AUTHENTICATION_FAILED; } else if (xhr.status == 503) { this.lastError_ = remoting.Error.SERVICE_UNAVAILABLE; |