summaryrefslogtreecommitdiff
path: root/modules/poll/poll.module
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 /modules/poll/poll.module
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 'modules/poll/poll.module')
-rw-r--r--modules/poll/poll.module1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 729a51dc9..f7eb9ebaa 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -297,7 +297,6 @@ function poll_form($node, &$form_state) {
'#ajax' => array(
'callback' => 'poll_choice_js',
'wrapper' => 'poll-choices',
- 'method' => 'replace',
'effect' => 'fade',
),
);