Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
John Resig authored November 11, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/ajax.js
2  src/ajax.js
@@ -469,7 +469,7 @@ jQuery.extend({
469 469
 		function success(){
470 470
 			// If a local callback was specified, fire it and pass it the data
471 471
 			if ( s.success ) {
472  
-				s.success.call( callbackContext, data, status );
  472
+				s.success.call( callbackContext, data, status, xhr );
473 473
 			}
474 474
 
475 475
 			// Fire the global callback

0 notes on commit c210124

Please sign in to comment.
Something went wrong with that request. Please try again.