Fixing blue bar and renders warning when mis-configured.

Этот коммит содержится в:
=Corey Hulen
2015-09-24 15:06:54 -07:00
родитель 6a4a73c2d3
Коммит 04c12ba58e
6 изменённых файлов: 113 добавлений и 88 удалений

Просмотреть файл

@@ -27,7 +27,7 @@ function handleError(methodName, xhr, status, err) {
msg = 'error in ' + methodName + ' status=' + status + ' statusCode=' + xhr.status + ' err=' + err;
if (xhr.status === 0) {
e = {message: 'There appears to be a problem with your internet connection'};
e = {message: 'There appears to be a problem with your internet connection', connErrorCount: 1};
} else {
e = {message: 'We received an unexpected status code from the server (' + xhr.status + ')'};
}