git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a371e2
)
The complete event wasn't getting called on local file 404s. Thanks to 'mrspeaker...
author
John Resig
<jeresig@gmail.com>
Sat, 7 Nov 2009 13:59:47 +0000
(14:59 +0100)
committer
John Resig
<jeresig@gmail.com>
Sat, 7 Nov 2009 13:59:47 +0000
(14:59 +0100)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
1cb7ee5
..
353c824
100644
(file)
--- a/
src/ajax.js
+++ b/
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