Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.
This commit is contained in:
parent
6d71a10ed2
commit
d9a3b133f1
|
@ -190,6 +190,7 @@ jQuery.extend({
|
||||||
window[ jsonp ] = function(tmp){
|
window[ jsonp ] = function(tmp){
|
||||||
data = tmp;
|
data = tmp;
|
||||||
success();
|
success();
|
||||||
|
complete();
|
||||||
// Garbage collect
|
// Garbage collect
|
||||||
window[ jsonp ] = undefined;
|
window[ jsonp ] = undefined;
|
||||||
try{ delete window[ jsonp ]; } catch(e){}
|
try{ delete window[ jsonp ]; } catch(e){}
|
||||||
|
|
Loading…
Reference in a new issue