Default callbackContext to the $.extended ajax options for 1.3.2 compatibility, per...
[jquery.git] / src / ajax.js
index df418eb..5cc7b37 100644 (file)
@@ -199,7 +199,7 @@ jQuery.extend({
                var s = jQuery.extend(true, {}, jQuery.ajaxSettings, origSettings);
                
                var jsonp, status, data,
-                       callbackContext = s.context || window,
+                       callbackContext = s.context || s,
                        type = s.type.toUpperCase();
 
                // convert data if not already a string