]> source.dussan.org Git - jquery.git/commitdiff
AjaxSetup now uses deep extend internally to accomodate map structured options.
authorjaubourg <j@ubourg.net>
Wed, 12 Jan 2011 17:53:00 +0000 (18:53 +0100)
committerjaubourg <j@ubourg.net>
Wed, 12 Jan 2011 17:53:00 +0000 (18:53 +0100)
src/ajax.js

index 82c499b6498d82c427a591f4be9f8b4c4280db6b..968c67c8ac8917251d00e0f07c3c1b3d92723328 100644 (file)
@@ -160,7 +160,7 @@ jQuery.extend({
        },
 
        ajaxSetup: function( settings ) {
-               jQuery.extend( jQuery.ajaxSettings, settings );
+               jQuery.extend( true, jQuery.ajaxSettings, settings );
        },
 
        ajaxSettings: {