Skip to content

Commit 513053d

Browse files
committed
The complete event wasn't getting called on local file 404s. Thanks to 'mrspeaker' for the patch. Fixes #5468.
1 parent 9a371e2 commit 513053d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ajax.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ jQuery.extend({
457457
xhr.send( type === "POST" || type === "PUT" ? s.data : null );
458458
} catch(e) {
459459
jQuery.handleError(s, xhr, null, e);
460+
// Fire the complete handlers
461+
complete();
460462
}
461463

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

0 commit comments

Comments
 (0)