Commit 066304ed authored by jaubourg's avatar jaubourg

Adds missing crossDomain test.

parent f2e0ae1a
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment