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-Tag: 1.2.2b~89 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ac9aaeec3dd036f805bc607ea4fd9afcab92047;p=jquery.git 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 f401c8538..8261b44cc 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