diff options
Diffstat (limited to 'src/Browser.js')
| -rw-r--r-- | src/Browser.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Browser.js b/src/Browser.js index b10c43cf..31f2c7f3 100644 --- a/src/Browser.js +++ b/src/Browser.js @@ -113,7 +113,9 @@ function Browser(window, document, body, XHR, $log) { }); xhr.onreadystatechange = function() { if (xhr.readyState == 4) { - completeOutstandingRequest(callback, xhr.status || 200, xhr.responseText); + // normalize IE bug (http://bugs.jquery.com/ticket/1450) + var status = xhr.status == 1223 ? 204 : xhr.status || 200; + completeOutstandingRequest(callback, status, xhr.responseText); } }; xhr.send(post || ''); |
