? 595972_23.patch
? 595972_ajax_settings.patch
? drupal7.kpf
? drupal_ajax_extends_settings.patch
? partial_validation_0.patch
? sites/all/modules/quicktabs
? sites/default/files
? sites/default/private
? sites/default/settings.php
Index: includes/ajax.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/ajax.inc,v
retrieving revision 1.14
diff -u -p -r1.14 ajax.inc
--- includes/ajax.inc	13 Oct 2009 21:16:42 -0000	1.14
+++ includes/ajax.inc	15 Oct 2009 01:18:31 -0000
@@ -740,10 +740,11 @@ function ajax_command_css($selector, $ar
  * @return
  *   An array suitable for use with the ajax_render() function.
  */
-function ajax_command_settings($argument) {
+function ajax_command_settings($argument, $merge = FALSE) {
   return array(
     'command' => 'settings',
-    'argument' => $argument,
+    'settings' => $argument,
+    'merge' => $merge,
   );
 }
 
Index: misc/ajax.js
===================================================================
RCS file: /cvs/drupal/drupal/misc/ajax.js,v
retrieving revision 1.3
diff -u -p -r1.3 ajax.js
--- misc/ajax.js	2 Oct 2009 14:55:40 -0000	1.3
+++ misc/ajax.js	15 Oct 2009 01:18:31 -0000
@@ -359,7 +359,12 @@ Drupal.ajax.prototype.commands = {
    * Command to set the settings that will be used for other commands in this response.
    */
   settings: function (ajax, response, status) {
-    ajax.settings = response.settings;
+    if (response.merge) {
+      $.extend(true, Drupal.settings, response.settings);
+    }
+    else {
+      ajax.settings = response.settings;
+    }
   },
 
   /**
