Added errorchange listener to textbox that detects if inet is not connected. Still do not have reliable way of checking if inet has reconnected

Этот коммит содержится в:
Reed Garmsen
2015-07-07 11:22:58 -07:00
родитель eddf43e133
Коммит 80f9ebadef
4 изменённых файлов: 38 добавлений и 10 удалений

Просмотреть файл

@@ -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,