diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-07-07 11:22:58 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-07-09 16:41:33 -0700 |
commit | 80f9ebadeff1f96fe2235e35cc5a1f80afd6dd58 (patch) | |
tree | 643ebe72ead6e53b5ece607470b54d0be1741677 /web/react/components/error_bar.jsx | |
parent | eddf43e1337f713b6e9f4ef6e733171f742e76a5 (diff) | |
download | chat-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/components/error_bar.jsx')
-rw-r--r-- | web/react/components/error_bar.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/error_bar.jsx b/web/react/components/error_bar.jsx index f23dc060e..d9d91ef51 100644 --- a/web/react/components/error_bar.jsx +++ b/web/react/components/error_bar.jsx @@ -9,7 +9,7 @@ var ActionTypes = Constants.ActionTypes; function getStateFromStores() { var error = ErrorStore.getLastError(); - if (error) { + if (error && error.message !== "There appears to be a problem with your internet connection") { return { message: error.message }; } else { return { message: null }; |