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:
6d71a10
)
Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.
author
John Resig
<jeresig@gmail.com>
Sat, 15 Sep 2007 00:35:16 +0000
(
00:35
+0000)
committer
John Resig
<jeresig@gmail.com>
Sat, 15 Sep 2007 00:35:16 +0000
(
00:35
+0000)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
b0c7f67
..
a0bcf55
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-190,6
+190,7
@@
jQuery.extend({
window[ jsonp ] = function(tmp){
data = tmp;
success();
+ complete();
// Garbage collect
window[ jsonp ] = undefined;
try{ delete window[ jsonp ]; } catch(e){}