Commit 80a4178a authored by jeresig's avatar jeresig

Reverting commit 39addc87 after a report of problems. Fixes #7196.

parent 8576570e
......@@ -239,6 +239,10 @@ jQuery.extend({
var customJsonp = window[ jsonp ];
window[ jsonp ] = function( tmp ) {
data = tmp;
jQuery.handleSuccess( s, xhr, status, data );
jQuery.handleComplete( s, xhr, status, data );
if ( jQuery.isFunction( customJsonp ) ) {
customJsonp( tmp );
......@@ -254,10 +258,6 @@ jQuery.extend({
if ( head ) {
head.removeChild( script );
}
data = tmp;
jQuery.handleSuccess( s, xhr, status, data );
jQuery.handleComplete( s, xhr, status, data );
};
}
......
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