Auth timeout on survey edit

The UI would error out on the console
This commit is contained in:
Jared Tabor 2015-02-04 16:11:37 -05:00
parent 16119114dc
commit 1e521e43c2

View File

@ -152,9 +152,10 @@ angular.module('SurveyHelper', [ 'Utilities', 'RestServices', 'SchedulesHelper',
})
.error(function (data, status) {
ProcessErrors(scope, data, status, { hdr: 'Error!',
msg: 'Failed to retrieve organization: ' + $routeParams.id + '. GET status: ' + status });
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
msg: 'Failed to retrieve survey. GET returned status: ' + status });
});
}
};
}])