diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-24 14:49:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-24 14:49:14 +0000 |
commit | 45f4a1e166d090e23cb385c3238835fce61d1607 (patch) | |
tree | 63384d78144e0caee7c6700c44e444a70fc58845 /modules/search | |
parent | 3e547ae045849264745f8cc456a0f379246060ea (diff) | |
download | brdo-45f4a1e166d090e23cb385c3238835fce61d1607.tar.gz brdo-45f4a1e166d090e23cb385c3238835fce61d1607.tar.bz2 |
- Patch #482816 by sun, Rob Loach: make a consistent wrapper around submit buttons.
Diffstat (limited to 'modules/search')
-rw-r--r-- | modules/search/search.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/search/search.module b/modules/search/search.module index 5f93be089..ab225993f 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -935,7 +935,8 @@ function search_box($form, &$form_state, $form_id) { '#default_value' => '', '#attributes' => array('title' => t('Enter the terms you wish to search for.')), ); - $form['submit'] = array('#type' => 'submit', '#value' => t('Search')); + $form['actions'] = array('#type' => 'actions'); + $form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Search')); $form['#submit'][] = 'search_box_form_submit'; return $form; |