git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c4144f
)
Pass in the XHR object as the third argument to the success callback (which helps...
author
John Resig
<jeresig@gmail.com>
Wed, 11 Nov 2009 19:29:01 +0000
(14:29 -0500)
committer
John Resig
<jeresig@gmail.com>
Wed, 11 Nov 2009 19:29:01 +0000
(14:29 -0500)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
a9f47dd
..
201636d
100644
(file)
--- a/
src/ajax.js
+++ b/
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