Skip to content
Snippets Groups Projects
Commit ba5fce22 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

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

parent e6e59359
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment