summaryrefslogtreecommitdiffstats
path: root/web/react/utils/async_client.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/utils/async_client.jsx')
-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,