]> source.dussan.org Git - jquery.git/commitdiff
Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.
authorJohn Resig <jeresig@gmail.com>
Sat, 15 Sep 2007 00:35:16 +0000 (00:35 +0000)
committerJohn Resig <jeresig@gmail.com>
Sat, 15 Sep 2007 00:35:16 +0000 (00:35 +0000)
src/ajax.js

index b0c7f67b85114f314f7044fb6edf9ef5dcf2df50..a0bcf55f7696ad8bc3aca923770df877e5e6f2a0 100644 (file)
@@ -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){}