Skip to content
Permalink
Browse files

The complete event wasn't getting called on local file 404s. Thanks t…

…o 'mrspeaker' for the patch. Fixes #5468.
  • Loading branch information
jeresig committed Nov 7, 2009
1 parent 9a371e2 commit 513053d62ba86ca6ab1f4646fdac3ec6819b2db9
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/ajax.js
@@ -457,6 +457,8 @@ jQuery.extend({
xhr.send( type === "POST" || type === "PUT" ? s.data : null );
} catch(e) {
jQuery.handleError(s, xhr, null, e);
// Fire the complete handlers
complete();
}

// firefox 1.5 doesn't fire statechange for sync requests

0 comments on commit 513053d

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