Commit ba5fce22 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#184199 by quicksketch: proper weights for poll form fields, so the fields are not reordered

parent e6e59359
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment