diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-21 00:35:31 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-21 00:35:31 +0000 |
commit | 6df0d7edb6c650616e805a388389bb888a790221 (patch) | |
tree | 9015cb425ca7bbea56dc8a59c2a765d30de6d9d8 /modules/poll | |
parent | db61b2603918d582afad82b8036fac7f5240a627 (diff) | |
download | brdo-6df0d7edb6c650616e805a388389bb888a790221.tar.gz brdo-6df0d7edb6c650616e805a388389bb888a790221.tar.bz2 |
#552520 by merlinofchaos: Fixed AJAX wrappers on poll/upload modules.
Diffstat (limited to 'modules/poll')
-rw-r--r-- | modules/poll/poll.module | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 6c044b558..f8d3b37c0 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -378,8 +378,6 @@ function _poll_choice_form($key, $chid = NULL, $value = '', $votes = 0, $weight function poll_choice_js($form, $form_state) { $choice_form = $form['choice_wrapper']['choice']; - // Prevent duplicate wrappers. - unset($choice_form['#prefix'], $choice_form['#suffix']); return theme('status_messages') . drupal_render($choice_form); } |