From 267c40e69027c869da92a34d4569c09fcedd1d57 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 Sep 2011 20:56:18 +0200 Subject: - Patch #706894 by amateescu, sun: poll form uses #description for a button. --- modules/poll/poll.module | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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'), -- cgit v1.2.3