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 f401c85..8261b44 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