summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-07 11:22:58 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-09 16:41:33 -0700
commit80f9ebadeff1f96fe2235e35cc5a1f80afd6dd58 (patch)
tree643ebe72ead6e53b5ece607470b54d0be1741677 /web/react/utils
parenteddf43e1337f713b6e9f4ef6e733171f742e76a5 (diff)
downloadchat-80f9ebadeff1f96fe2235e35cc5a1f80afd6dd58.tar.gz
chat-80f9ebadeff1f96fe2235e35cc5a1f80afd6dd58.tar.bz2
chat-80f9ebadeff1f96fe2235e35cc5a1f80afd6dd58.zip
Added errorchange listener to textbox that detects if inet is not connected. Still do not have reliable way of checking if inet has reconnected
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/async_client.jsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/web/react/utils/async_client.jsx b/web/react/utils/async_client.jsx
index 2c6923e53..f96592c06 100644
--- a/web/react/utils/async_client.jsx
+++ b/web/react/utils/async_client.jsx
@@ -15,13 +15,6 @@ var ActionTypes = Constants.ActionTypes;
var callTracker = {};
var dispatchError = function(err, method) {
- 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,
err: err,