diff --git a/src/ajax.js b/src/ajax.js index 71bdd461..baf7ae8e 100644 --- a/src/ajax.js +++ b/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 );