Commit c2101245 authored by John Resig's avatar John Resig

Pass in the XHR object as the third argument to the success callback (which...

Pass in the XHR object as the third argument to the success callback (which helps $.get, $.post, and load). Fixes #3363.
parent 7c4144fa
......@@ -469,7 +469,7 @@ jQuery.extend({
function success(){
// If a local callback was specified, fire it and pass it the data
if ( s.success ) {
s.success.call( callbackContext, data, status );
s.success.call( callbackContext, data, status, xhr );
}
// Fire the global callback
......
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