Skip to content
Permalink
Browse files

Adds missing crossDomain test.

  • Loading branch information
jaubourg committed Feb 11, 2011
1 parent f2e0ae1 commit 066304edf0a1ed0303d79712bfa9c8697d5fa4d3
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );

0 comments on commit 066304e

Please sign in to comment.
You can’t perform that action at this time.