diff options
author | jaubourg <j@ubourg.net> | 2011-01-27 00:58:31 +0100 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2011-01-27 00:58:31 +0100 |
commit | 7d75ea950ea31a6734dc42e2037742b0c6719e8a (patch) | |
tree | 68f0ef0d9be51d2292e87fb3de736815c406d461 | |
parent | bab8079593913dbc689404aa4e83c46b9b4c9355 (diff) | |
download | jquery-7d75ea950ea31a6734dc42e2037742b0c6719e8a.tar.gz jquery-7d75ea950ea31a6734dc42e2037742b0c6719e8a.zip |
Actually does what https://github.com/jquery/jquery/commit/bab8079593913dbc689404aa4e83c46b9b4c9355 promised: passes the jXHR as the third argument of prefilters and transport factories. Comitted for completness even if if backs this out in the end and only land in 1.5.1.
-rw-r--r-- | src/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js index 592f297f2..d8af93874 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -88,7 +88,7 @@ function inspectPrefiltersOrTransports( structure, options, originalOptions, jXH selection; for(; i < length && ( executeOnly || !selection ); i++ ) { - selection = list[ i ]( options, originalOptions ); + selection = list[ i ]( options, originalOptions, jXHR ); // If we got redirected to another dataType // we try there if not done already if ( typeof selection === "string" ) { |