From d9a3b133f1bf6a283349b5c0ab64b7c09cb9b92b Mon Sep 17 00:00:00 2001 From: John Resig Date: Sat, 15 Sep 2007 00:35:16 +0000 Subject: [PATCH] Bug #1584, ajaxStop/complete calls weren't called for JSONP requests. --- src/ajax.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ajax.js b/src/ajax.js index b0c7f67b..a0bcf55f 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){}