summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-06 19:02:21 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-09 16:41:33 -0700
commiteddf43e1337f713b6e9f4ef6e733171f742e76a5 (patch)
tree248031dcdb5ec6ead13ef2fa00e041030116a7c0 /web
parent763618ef3613d0af6baea0e1d49abb6641979841 (diff)
downloadchat-eddf43e1337f713b6e9f4ef6e733171f742e76a5.tar.gz
chat-eddf43e1337f713b6e9f4ef6e733171f742e76a5.tar.bz2
chat-eddf43e1337f713b6e9f4ef6e733171f742e76a5.zip
Notes to myself
Diffstat (limited to 'web')
-rw-r--r--web/react/utils/async_client.jsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/web/react/utils/async_client.jsx b/web/react/utils/async_client.jsx
index a2a6f8db7..2c6923e53 100644
--- a/web/react/utils/async_client.jsx
+++ b/web/react/utils/async_client.jsx
@@ -15,7 +15,12 @@ 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;
+ if (err.message === "There appears to be a problem with your internet connection") {
+
+ //Need to communicate this fact to textbox and cause it to change color
+
+ return;
+ }
AppDispatcher.handleServerAction({
type: ActionTypes.RECIEVED_ERROR,