? 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: 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	14 Oct 2009 04:52:03 -0000
@@ -231,10 +231,6 @@ Drupal.ajax.prototype.success = function
   }
 
   Drupal.unfreezeHeight();
-
-  // Remove any response-specific settings so they don't get used on the next
-  // call by mistake.
-  this.settings = {};
 };
 
 /**
@@ -324,7 +320,7 @@ Drupal.ajax.prototype.commands = {
     // optional.
     if (new_content.parents('html').length > 0) {
       // Apply any settings from the returned JSON if available.
-      var settings = response.settings || ajax.settings || Drupal.settings;
+      var settings = response.settings || Drupal.settings;
       Drupal.attachBehaviors(new_content, settings);
     }
   },
@@ -356,10 +352,10 @@ Drupal.ajax.prototype.commands = {
   },
 
   /**
-   * Command to set the settings that will be used for other commands in this response.
+   * Command to globally extend Drupal.settings.
    */
   settings: function (ajax, response, status) {
-    ajax.settings = response.settings;
+    $.extend(true, Drupal.settings, response.settings);
   },
 
   /**
