summaryrefslogtreecommitdiff
path: root/modules/menu/menu.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-02-12 13:43:21 +0000
committerDries Buytaert <dries@buytaert.net>2008-02-12 13:43:21 +0000
commitbbc65c30fa1764af2f7849c7267847014dc56cbc (patch)
tree5a4cc6411751b428b8d7ebc79770692cd00b3ae1 /modules/menu/menu.module
parentc83d65a776fdbe85a0aa0adbcae75e8c71d93e92 (diff)
downloadbrdo-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.module1
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.'),
);