diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-02-12 13:43:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-02-12 13:43:21 +0000 |
commit | bbc65c30fa1764af2f7849c7267847014dc56cbc (patch) | |
tree | 5a4cc6411751b428b8d7ebc79770692cd00b3ae1 /modules/menu/menu.module | |
parent | c83d65a776fdbe85a0aa0adbcae75e8c71d93e92 (diff) | |
download | brdo-bbc65c30fa1764af2f7849c7267847014dc56cbc.tar.gz brdo-bbc65c30fa1764af2f7849c7267847014dc56cbc.tar.bz2 |
- Patch #220004 by webernet et al: menu items reorder after edit one of menu item.
Diffstat (limited to 'modules/menu/menu.module')
-rw-r--r-- | modules/menu/menu.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/menu/menu.module b/modules/menu/menu.module index 6457f6c0c..03fca87a1 100644 --- a/modules/menu/menu.module +++ b/modules/menu/menu.module @@ -406,6 +406,7 @@ function menu_form_alter(&$form, $form_state, $form_id) { $form['menu']['weight'] = array( '#type' => 'weight', '#title' => t('Weight'), + '#delta' => 50, '#default_value' => $item['weight'], '#description' => t('Optional. In the menu, the heavier items will sink and the lighter items will be positioned nearer the top.'), ); |