diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-03 21:01:04 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-01-03 21:01:04 +0000 |
commit | ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d (patch) | |
tree | 8d9f52358a4c0118b07a03d437c7d5dfe290999c /modules/field_ui/field_ui.module | |
parent | 8c4b6239b48a46e754e23a803f4a28745b4eb027 (diff) | |
download | brdo-ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d.tar.gz brdo-ba6ef3017eb8ac1e6ccfd1ffebf97a476859315d.tar.bz2 |
#482816 by sun and Rob Loach: Add a consistent wrapper around submit buttons.
Diffstat (limited to 'modules/field_ui/field_ui.module')
-rw-r--r-- | modules/field_ui/field_ui.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field_ui/field_ui.module b/modules/field_ui/field_ui.module index 155849bce..93c436fa7 100644 --- a/modules/field_ui/field_ui.module +++ b/modules/field_ui/field_ui.module @@ -321,7 +321,7 @@ function field_ui_inactive_instances($obj_type, $bundle_name = NULL) { function field_ui_form_node_type_form_alter(&$form, $form_state) { // We want to display the button only on add page. if (empty($form['#node_type']->type)) { - $form['save_continue'] = array( + $form['actions']['save_continue'] = array( '#type' => 'submit', '#value' => t('Save and add fields'), '#weight' => 45, |