Added back version check on ajaxSuccess

This commit is contained in:
Keivan Beigi
2015-02-07 10:25:38 -08:00
parent 8f8fe99a16
commit 8d03850de7
6 changed files with 42 additions and 25 deletions

View File

@@ -34,6 +34,7 @@ module.exports = (function(){
}
return false;
};
$(document).ajaxError(function(event, xmlHttpRequest, ajaxOptions){
if(xmlHttpRequest.status >= 200 && xmlHttpRequest.status <= 300) {
return undefined;