From eddf43e1337f713b6e9f4ef6e733171f742e76a5 Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Mon, 6 Jul 2015 19:02:21 -0700 Subject: Notes to myself --- web/react/utils/async_client.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'web/react') 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, -- cgit v1.2.3-1-g7c22