Replaces typo (status instead of state) as observed in #9585.

master
jaubourg 2011-06-30 18:18:44 +02:00
parent e2ab2ba1d5
commit 5b92a5f5ec
1 changed files with 1 additions and 1 deletions

View File

@ -727,7 +727,7 @@ jQuery.extend({
transport.send( requestHeaders, done );
} catch (e) {
// Propagate exception as error if not done
if ( status < 2 ) {
if ( state < 2 ) {
done( -1, e );
// Simply rethrow otherwise
} else {