🌐 AI搜索 & 代理 主页
Skip to content

Commit c210124

Browse files
committed
Pass in the XHR object as the third argument to the success callback (which helps $.get, $.post, and load). Fixes #3363.
1 parent 7c4144f commit c210124

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ jQuery.extend({
469469
function success(){
470470
// If a local callback was specified, fire it and pass it the data
471471
if ( s.success ) {
472-
s.success.call( callbackContext, data, status );
472+
s.success.call( callbackContext, data, status, xhr );
473473
}
474474

475475
// Fire the global callback

0 commit comments

Comments
 (0)