summaryrefslogtreecommitdiff
path: root/misc/ajax.js
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-30 08:07:55 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-30 08:07:55 +0000
commit8c08ea2561b6da5a97777312ebf60d295dbbdb1e (patch)
tree5502b1254664920ff775b717cab4c136239ebb08 /misc/ajax.js
parent466f693276617c8def2c72601c402e7be4b21ad0 (diff)
downloadbrdo-8c08ea2561b6da5a97777312ebf60d295dbbdb1e.tar.gz
brdo-8c08ea2561b6da5a97777312ebf60d295dbbdb1e.tar.bz2
- Patch #645800 by katbailey, effulgentsia, rfay: ajax_deliver() ignores #ajax['method'] and incorrectly forces 'replaceWith' for simple AJAX callbacks, D6-&gt;D7 regression.
Diffstat (limited to 'misc/ajax.js')
-rw-r--r--misc/ajax.js2
1 files changed, 1 insertions, 1 deletions
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...'