Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Pass in the XHR object as the third argument to the success callback …

…(which helps $.get, $.post, and load). Fixes #3363.
  • Loading branch information...
commit c2101245c07afdb831b0c79869c7263420407b67 1 parent 7c4144f
@jeresig jeresig authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ajax.js
View
2  src/ajax.js
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.