Pass in the XHR object as the third argument to the success callback (which helps...
[jquery.git] / src / ajax.js
index a9f47dd..201636d 100644 (file)
@@ -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