From bbc65c30fa1764af2f7849c7267847014dc56cbc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 12 Feb 2008 13:43:21 +0000 Subject: - Patch #220004 by webernet et al: menu items reorder after edit one of menu item. --- modules/menu/menu.module | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/menu/menu.module') 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.'), ); -- cgit v1.2.3