git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Report correct Error object to handleError. Part of the fix for #6677.
[jquery.git]
/
src
/
ajax.js
diff --git
a/src/ajax.js
b/src/ajax.js
index
71bdd46
..
baf7ae8
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-494,7
+494,7
@@
jQuery.extend({
xhr.send( (type !== "GET" && s.data) || null );
} catch( sendError ) {
xhr.send( (type !== "GET" && s.data) || null );
} catch( sendError ) {
- jQuery.ajax.handleError( s, xhr, null, e );
+ jQuery.ajax.handleError( s, xhr, null, sendError );
// Fire the complete handlers
jQuery.ajax.handleComplete( s, xhr, status, data );
// Fire the complete handlers
jQuery.ajax.handleComplete( s, xhr, status, data );