summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-02-02 08:10:03 +0000
committerDries Buytaert <dries@buytaert.net>2010-02-02 08:10:03 +0000
commitc953d417e41cc822d52431478925f9ed617f2cd8 (patch)
tree24fd3d8e166a6e972dbf90fefdcfa7c1634881c6
parentd8eafc21bada749ebac32ec4b42f12c98006b119 (diff)
downloadbrdo-c953d417e41cc822d52431478925f9ed617f2cd8.tar.gz
brdo-c953d417e41cc822d52431478925f9ed617f2cd8.tar.bz2
- Patch #645758 by Dave Reid: system_settings_form() should set a high weight for buttons.
-rw-r--r--modules/system/system.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index 4d0a064f4..eb1fc5ea7 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -2501,6 +2501,7 @@ function _system_settings_form_automatic_defaults($form) {
function system_settings_form($form, $automatic_defaults = TRUE) {
$form['actions']['#type'] = 'container';
$form['actions']['#attributes']['class'][] = 'form-actions';
+ $form['actions']['#weight'] = 100;
$form['actions']['submit'] = array('#type' => 'submit', '#value' => t('Save configuration'));
if ($automatic_defaults) {