Skip to content
Snippets Groups Projects
Commit c953d417 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #645758 by Dave Reid: system_settings_form() should set a high weight for buttons.

parent d8eafc21
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment