Commit a71f5562 authored by Dries's avatar Dries
Browse files

- Patch #666634 by chx: added 'container' wrapper for node form buttons.

parent 5674b54f
......@@ -268,7 +268,7 @@ function node_form($form, &$form_state, $node) {
}
// Add the buttons.
$form['buttons'] = array();
$form['buttons'] = array('#type' => 'container');
$form['buttons']['#weight'] = 100;
$form['buttons']['submit'] = array(
'#type' => 'submit',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment