Merge pull request #794 from mattermost/PLT-157

PLT-157 Fixing blue bar and renders warning when mis-configured.
Этот коммит содержится в:
Christopher Speller
2015-09-25 11:31:47 -04:00
родитель c81fbc6d95 fb1ba90051
Коммит e743ad483a
6 изменённых файлов: 113 добавлений и 89 удалений

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

@@ -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 + ')'};
}