Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.
This commit is contained in:
parent
6d71a10ed2
commit
d9a3b133f1
1 changed files with 1 additions and 0 deletions
|
@ -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){}
|
||||
|
|
Loading…
Reference in a new issue