]> source.dussan.org Git - jquery.git/commitdiff
Another fix for bug #1584, ajaxStop would not be called for a cross-domain request...
authorJohn Resig <jeresig@gmail.com>
Wed, 17 Oct 2007 23:13:31 +0000 (23:13 +0000)
committerJohn Resig <jeresig@gmail.com>
Wed, 17 Oct 2007 23:13:31 +0000 (23:13 +0000)
src/ajax.js

index f401c85380eb2c248de9793032a289ce87f29b5f..8261b44cc8efc5fecf6b375006e3a3e3fd655bb7 100644 (file)
@@ -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