]> source.dussan.org Git - jquery.git/commitdiff
Replaces typo (status instead of state) as observed in #9585.
authorjaubourg <j@ubourg.net>
Thu, 30 Jun 2011 16:18:44 +0000 (18:18 +0200)
committerjaubourg <j@ubourg.net>
Thu, 30 Jun 2011 22:16:34 +0000 (00:16 +0200)
src/ajax.js

index a16717b00add23875f256b3d189e6bf51625ac73..e4e48dc7bffded8fa9fbd4bd5d1822500f7d3d87 100644 (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 {