// No possible parent menu items found so there is no need to display the
// menu options.
return;
}
// Note - doing this to make sure the delete checkbox stays in the form.
$form['#cache']=TRUE;
...
...
@@ -527,9 +584,8 @@ function menu_form_alter(&$form, $form_state, $form_id) {
'#description'=>t('The link text corresponding to this item that should appear in the menu. Leave blank if you do not wish to add this post to the menu.'),
'#required'=>FALSE,
);
// Generate a list of possible parents (not including this item or descendants).