mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.
This commit is contained in:
@@ -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){}
|
||||
|
||||
Reference in New Issue
Block a user