Changeset 3977
- Timestamp:
- 11/29/07 17:12:08 (1 year ago)
- Files:
-
- 1 modified
-
trunk/jquery/src/ajax.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/ajax.js
r3840 r3977 271 271 272 272 if ( s.global ) 273 jQuery.event.trigger("ajaxSend", [xml, s]);273 jQuery.event.trigger("ajaxSend", [xml, s]); 274 274 275 275 // Wait for a response to come back … … 398 398 httpSuccess: function( r ) { 399 399 try { 400 // IE error sometimes returns 1223 when it should be 204 so treat it as success, see #1450 400 401 return !r.status && location.protocol == "file:" || 401 ( r.status >= 200 && r.status < 300 ) || r.status == 304 || 402 ( r.status >= 200 && r.status < 300 ) || r.status == 304 || r.status == 1223 || 402 403 jQuery.browser.safari && r.status == undefined; 403 404 } catch(e){}
