From: John Resig Date: Sat, 15 Sep 2007 00:35:16 +0000 (+0000) Subject: Bug #1584, ajaxStop/complete calls weren't called for JSONP requests. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=d9a3b133f1bf6a283349b5c0ab64b7c09cb9b92b;p=jquery.git Bug #1584, ajaxStop/complete calls weren't called for JSONP requests. --- diff --git a/src/ajax.js b/src/ajax.js index b0c7f67..a0bcf55 100644 --- 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){}