From 5b92a5f5eccf69d480c11dbd2870f8161ae0441b Mon Sep 17 00:00:00 2001 From: jaubourg Date: Thu, 30 Jun 2011 18:18:44 +0200 Subject: [PATCH] Replaces typo (status instead of state) as observed in #9585. --- src/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ajax.js b/src/ajax.js index a16717b0..e4e48dc7 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -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 {