From: John Resig Date: Wed, 17 Oct 2007 23:13:31 +0000 (+0000) Subject: Another fix for bug #1584, ajaxStop would not be called for a cross-domain request... X-Git-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=9ac9aaeec3dd036f805bc607ea4fd9afcab92047 Another fix for bug #1584, ajaxStop would not be called for a cross-domain request if a handler was not provided. --- diff --git a/src/ajax.js b/src/ajax.js index f401c85..8261b44 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -223,7 +223,7 @@ jQuery.extend({ script.src = s.url; // Handle Script loading - if ( !jsonp && (s.success || s.complete) ) { + if ( !jsonp ) { var done = false; // Attach handlers for all browsers