diff --git a/src/ajax.js b/src/ajax.js index 76f98349..15ad6a85 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -509,7 +509,7 @@ jQuery.extend({ // We extract error from statusText // then normalize statusText and status for non-aborts error = statusText; - if( status ) { + if( !statusText || status ) { statusText = "error"; if ( status < 0 ) { status = 0;