diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-09-24 20:56:18 +0200 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-09-24 20:56:18 +0200 |
commit | 267c40e69027c869da92a34d4569c09fcedd1d57 (patch) | |
tree | d58581e02574c9affda397f1987a4615d1ff8768 /modules/poll/poll.module | |
parent | cf7684b611f3972835fa7278ce77f7dfd668cdd2 (diff) | |
download | brdo-267c40e69027c869da92a34d4569c09fcedd1d57.tar.gz brdo-267c40e69027c869da92a34d4569c09fcedd1d57.tar.bz2 |
- Patch #706894 by amateescu, sun: poll form uses #description for a button.
Diffstat (limited to 'modules/poll/poll.module')
-rw-r--r-- | modules/poll/poll.module | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/poll/poll.module b/modules/poll/poll.module index 2737c2bd8..13d2606de 100644 --- a/modules/poll/poll.module +++ b/modules/poll/poll.module @@ -299,7 +299,9 @@ function poll_form($node, &$form_state) { $form['choice_wrapper']['poll_more'] = array( '#type' => 'submit', '#value' => t('More choices'), - '#description' => t("If the amount of boxes above isn't enough, click here to add more choices."), + '#attributes' => array( + 'title' => t("If the amount of boxes above isn't enough, click here to add more choices."), + ), '#weight' => 1, '#limit_validation_errors' => array(array('choice')), '#submit' => array('poll_more_choices_submit'), |