diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-07-06 19:02:21 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-07-09 16:41:33 -0700 |
commit | eddf43e1337f713b6e9f4ef6e733171f742e76a5 (patch) | |
tree | 248031dcdb5ec6ead13ef2fa00e041030116a7c0 /web/react | |
parent | 763618ef3613d0af6baea0e1d49abb6641979841 (diff) | |
download | chat-eddf43e1337f713b6e9f4ef6e733171f742e76a5.tar.gz chat-eddf43e1337f713b6e9f4ef6e733171f742e76a5.tar.bz2 chat-eddf43e1337f713b6e9f4ef6e733171f742e76a5.zip |
Notes to myself
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/utils/async_client.jsx | 7 |
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, |