mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Default callbackContext to the $.extended ajax options for 1.3.2 compatibility, per #5654.
This commit is contained in:
parent
04b92e7831
commit
d85d366fbf
@ -199,7 +199,7 @@ jQuery.extend({
|
|||||||
var s = jQuery.extend(true, {}, jQuery.ajaxSettings, origSettings);
|
var s = jQuery.extend(true, {}, jQuery.ajaxSettings, origSettings);
|
||||||
|
|
||||||
var jsonp, status, data,
|
var jsonp, status, data,
|
||||||
callbackContext = s.context || window,
|
callbackContext = s.context || s,
|
||||||
type = s.type.toUpperCase();
|
type = s.type.toUpperCase();
|
||||||
|
|
||||||
// convert data if not already a string
|
// convert data if not already a string
|
||||||
|
Loading…
Reference in New Issue
Block a user