X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fajax%2Fxhr.js;h=9c8790aba79bbc8b1bcabe95a11e87781aa384f7;hb=066304edf0a1ed0303d79712bfa9c8697d5fa4d3;hp=e21847aa8eaea7cee03fe14b2141076a4a5fca75;hpb=f2e0ae1a3932d6089853e8c0eed6ecb446610c00;p=jquery.git diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index e21847a..9c8790a 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -170,7 +170,7 @@ if ( jQuery.support.ajax ) { // If the request is local and we have data: assume a success // (success with no data won't get notified, that's the best we // can do given current implementations) - !status && s.isLocal ? + !status && s.isLocal && !s.crossDomain ? ( responses.text ? 200 : 404 ) : // IE - #1450: sometimes returns 1223 when it should be 204 ( status === 1223 ? 204 : status );