Ticket #825: ticket825.patch
| File ticket825.patch, 0.6 KB (added by FND, 3 years ago) |
|---|
-
core/js/Http.js
diff --git a/core/js/Http.js b/core/js/Http.js index 4c5fdcb..c4a7633 100644
a b 59 59 status = false; 60 60 } 61 61 if(x.readyState == 4 && callback && (status !== undefined)) { 62 if([0, 200, 201, 204, 207 ].contains(status))62 if([0, 200, 201, 204, 207, 1223].contains(status)) { 63 63 callback(true,params,x.responseText,url,x); 64 else64 } else { 65 65 callback(false,params,null,url,x); 66 } 66 67 x.onreadystatechange = function(){}; 67 68 x = null; 68 69 }
