Commit d9a3b133 authored by John Resig's avatar John Resig

Bug #1584, ajaxStop/complete calls weren't called for JSONP requests.

parent 6d71a10e
...@@ -190,6 +190,7 @@ jQuery.extend({ ...@@ -190,6 +190,7 @@ jQuery.extend({
window[ jsonp ] = function(tmp){ window[ jsonp ] = function(tmp){
data = tmp; data = tmp;
success(); success();
complete();
// Garbage collect // Garbage collect
window[ jsonp ] = undefined; window[ jsonp ] = undefined;
try{ delete window[ jsonp ]; } catch(e){} try{ delete window[ jsonp ]; } catch(e){}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment