Replaces typo (status instead of state) as observed in #9585.
This commit is contained in:
parent
e2ab2ba1d5
commit
5b92a5f5ec
1 changed files with 1 additions and 1 deletions
|
@ -727,7 +727,7 @@ jQuery.extend({
|
||||||
transport.send( requestHeaders, done );
|
transport.send( requestHeaders, done );
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Propagate exception as error if not done
|
// Propagate exception as error if not done
|
||||||
if ( status < 2 ) {
|
if ( state < 2 ) {
|
||||||
done( -1, e );
|
done( -1, e );
|
||||||
// Simply rethrow otherwise
|
// Simply rethrow otherwise
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue