From ba5fce22ca76269077abc061c0483f4d394b4d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 17 Oct 2007 19:36:12 +0000 Subject: #184199 by quicksketch: proper weights for poll form fields, so the fields are not reordered --- modules/poll/poll.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/poll/poll.module b/modules/poll/poll.module index af700af48..a87003128 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -202,7 +202,7 @@ function poll_form(&$node, $form_state) { // Add a wrapper for the choices and more button. $form['choice_wrapper'] = array( '#tree' => FALSE, - '#weight' => -5, + '#weight' => -4, '#prefix' => '
', '#suffix' => '
', ); @@ -251,7 +251,7 @@ function poll_form(&$node, $form_state) { '#type' => 'fieldset', '#collapsible' => TRUE, '#title' => t('Poll settings'), - '#weight' => -4, + '#weight' => -3, ); $form['settings']['active'] = array( -- cgit v1.2.3