summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-06-25 10:59:24 -0400
committerCorey Hulen <corey@hulen.com>2015-06-25 10:59:24 -0400
commit362afd1b7faf8ad2c17a77e1f1ac9d3dd692cd24 (patch)
tree1bd80783478804d24cdee3f9d989f3bf72d21733 /web
parentb41b75fb3591f280b6b526e6b0fb64e89b221ce1 (diff)
parent09bf61519727031da22ae86beed66bb225f3c4e2 (diff)
downloadchat-362afd1b7faf8ad2c17a77e1f1ac9d3dd692cd24.tar.gz
chat-362afd1b7faf8ad2c17a77e1f1ac9d3dd692cd24.tar.bz2
chat-362afd1b7faf8ad2c17a77e1f1ac9d3dd692cd24.zip
Merge pull request #18 from mattermost/mm-1269
fixes mm-1269 don't show blue bar for internet connection issue
Diffstat (limited to 'web')
-rw-r--r--web/react/utils/async_client.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/react/utils/async_client.jsx b/web/react/utils/async_client.jsx
index bb7ca458f..fc8c23fd5 100644
--- a/web/react/utils/async_client.jsx
+++ b/web/react/utils/async_client.jsx
@@ -15,6 +15,8 @@ var ActionTypes = Constants.ActionTypes;
var callTracker = {};
var dispatchError = function(err, method) {
+ if (err.message === "There appears to be a problem with your internet connection") return;
+
AppDispatcher.handleServerAction({
type: ActionTypes.RECIEVED_ERROR,
err: err,