From 58852d4b7b72113793455b92bf113359e849e2fb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 26 Nov 2007 16:19:37 +0000 Subject: - Patch #192736 by quicksketch et al: drag and drop for book module. --- modules/menu/menu.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/menu') diff --git a/modules/menu/menu.admin.inc b/modules/menu/menu.admin.inc index b617d7c46..383a70376 100644 --- a/modules/menu/menu.admin.inc +++ b/modules/menu/menu.admin.inc @@ -165,7 +165,7 @@ function menu_overview_form_submit($form, &$form_state) { * Theme the menu overview form into a table. */ function theme_menu_overview_form($form) { - drupal_add_tabledrag('menu-overview', 'match', 'parent', 'menu-plid', 'menu-plid', 'menu-mlid'); + drupal_add_tabledrag('menu-overview', 'match', 'parent', 'menu-plid', 'menu-plid', 'menu-mlid', TRUE, MENU_MAX_DEPTH - 1); drupal_add_tabledrag('menu-overview', 'order', 'sibling', 'menu-weight'); $header = array( -- cgit v1.2.3