Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
c953d417
Commit
c953d417
authored
Feb 02, 2010
by
Dries
Browse files
- Patch
#645758
by Dave Reid: system_settings_form() should set a high weight for buttons.
parent
d8eafc21
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/system/system.module
View file @
c953d417
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment