diff --git a/app/assets/javascripts/app/services/httpManager.js b/app/assets/javascripts/app/services/httpManager.js index 1dc0be14a..5b4d3e2f1 100644 --- a/app/assets/javascripts/app/services/httpManager.js +++ b/app/assets/javascripts/app/services/httpManager.js @@ -31,7 +31,7 @@ class HttpManager { response = JSON.parse(response); } - if(xmlhttp.status == 200){ + if(xmlhttp.status >= 200 && xmlhttp.status <= 299){ console.log("onsuccess", response); this.$timeout(function(){ onsuccess(response);