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-Tag: 1.2.1~11 X-Git-Url: https://source.dussan.org/?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 b0c7f67b8..a0bcf55f7 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){}