Commit 1130beb7 authored by Dave Methvin's avatar Dave Methvin Committed by jeresig

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

parent 69994211
...@@ -494,7 +494,7 @@ jQuery.extend({ ...@@ -494,7 +494,7 @@ jQuery.extend({
xhr.send( (type !== "GET" && s.data) || null ); xhr.send( (type !== "GET" && s.data) || null );
} catch( sendError ) { } catch( sendError ) {
jQuery.ajax.handleError( s, xhr, null, e ); jQuery.ajax.handleError( s, xhr, null, sendError );
// Fire the complete handlers // Fire the complete handlers
jQuery.ajax.handleComplete( s, xhr, status, data ); jQuery.ajax.handleComplete( s, xhr, status, data );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment