Skip to content

8.x 1x always show edit children#6

Open
tomvoes wants to merge 2 commits intobecw:8.x-1.x-working-orderfrom
tomvoes:8.x-1x-always-show-edit-children
Open

8.x 1x always show edit children#6
tomvoes wants to merge 2 commits intobecw:8.x-1.x-working-orderfrom
tomvoes:8.x-1x-always-show-edit-children

Conversation

@tomvoes
Copy link

@tomvoes tomvoes commented Mar 29, 2018

When all children of a menu link are disabled, the "edit children" link is not shown, as it depends on the has_children flag in the menu tree. The has_children flag is only set to true if the menu link has enabled children. This patch adds an extra check to also show the "edit children" link when all child links are disabled. It also removes the fixed depth override of on the menu slice form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant