Commit 5b92a5f5 authored by jaubourg's avatar jaubourg

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

parent e2ab2ba1
...@@ -727,7 +727,7 @@ jQuery.extend({ ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment