mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Notes to myself
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user