Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.
[jquery.git] / src / ajax.js
index b0c7f67..a0bcf55 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){}