diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-21 06:58:31 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-04-21 06:58:31 +0000 |
commit | 4ab1238ce589ae5490855b12a444ebebb6505fb5 (patch) | |
tree | 22e57440aa4d3d55e9d2cb1f7c4787d7dfaa0fa2 | |
parent | 173b1392564efe00b1e2f056bd9d5a64731526be (diff) | |
download | brdo-4ab1238ce589ae5490855b12a444ebebb6505fb5.tar.gz brdo-4ab1238ce589ae5490855b12a444ebebb6505fb5.tar.bz2 |
#763400 by eojthebrave: Fixed Comment preview/submit button weight not set causing fields to appear below preview/submit button.
-rw-r--r-- | modules/comment/comment.module | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 63dd815c7..0814c2624 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1905,7 +1905,11 @@ function comment_form($form, &$form_state, $comment) { // already previewing the submission. However, if there are form errors, // we hide the save button no matter what, so that optional form elements // (e.g., captchas) can be updated. - $form['actions'] = array('#type' => 'container', '#attributes' => array('class' => array('form-actions'))); + $form['actions'] = array( + '#type' => 'container', + '#attributes' => array('class' => array('form-actions')), + '#weight' => 100, + ); $form['actions']['submit'] = array( '#type' => 'submit', '#value' => t('Save'), |