summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-17 19:36:12 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-17 19:36:12 +0000
commitba5fce22ca76269077abc061c0483f4d394b4d70 (patch)
treebd938386090e067864384e933b96d4682ae731e7 /modules
parente6e59359b9c6d3de38769a2097ad31e1f3d330f6 (diff)
downloadbrdo-ba5fce22ca76269077abc061c0483f4d394b4d70.tar.gz
brdo-ba5fce22ca76269077abc061c0483f4d394b4d70.tar.bz2
#184199 by quicksketch: proper weights for poll form fields, so the fields are not reordered
Diffstat (limited to 'modules')
-rw-r--r--modules/poll/poll.module4
1 files changed, 2 insertions, 2 deletions
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' => '<div class="clear-block" id="poll-choice-wrapper">',
'#suffix' => '</div>',
);
@@ -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(