Skip to content
Permalink
Browse files

Report correct Error object to handleError. Part of the fix for #6677.

  • Loading branch information
dmethvin authored and jeresig committed Sep 24, 2010
1 parent 6999421 commit 1130beb72be9d9f5d6bb6f303501da5ec2e3744e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax.js
@@ -494,7 +494,7 @@ jQuery.extend({
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 );

0 comments on commit 1130beb

Please sign in to comment.
You can’t perform that action at this time.