From 8c08ea2561b6da5a97777312ebf60d295dbbdb1e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 30 Apr 2010 08:07:55 +0000 Subject: - Patch #645800 by katbailey, effulgentsia, rfay: ajax_deliver() ignores #ajax['method'] and incorrectly forces 'replaceWith' for simple AJAX callbacks, D6->D7 regression. --- misc/ajax.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/ajax.js') diff --git a/misc/ajax.js b/misc/ajax.js index 1d6c8295d..339d167eb 100644 --- a/misc/ajax.js +++ b/misc/ajax.js @@ -93,7 +93,7 @@ Drupal.ajax = function (base, element, element_settings) { selector: '#' + base, effect: 'none', speed: 'slow', - method: 'replace', + method: 'replaceWith', progress: { type: 'bar', message: 'Please wait...' -- cgit v1.2.3