Index: remoting/webapp/crd/js/host_list_api_impl.js |
diff --git a/remoting/webapp/crd/js/host_list_api_impl.js b/remoting/webapp/crd/js/host_list_api_impl.js |
index 35babb0124213158712d25b0b0cf350b5966c6f8..9516e3ca45ea59134dddea265224fa5c15943649 100644 |
--- a/remoting/webapp/crd/js/host_list_api_impl.js |
+++ b/remoting/webapp/crd/js/host_list_api_impl.js |
@@ -113,7 +113,7 @@ remoting.HostListApiImpl.prototype.parseHostListResponse_ = |
onDone(hosts); |
} |
} else { |
- onError(remoting.Error.fromHttpError(xhr.status)); |
+ onError(remoting.Error.fromHttpStatus(xhr.status)); |
} |
}; |