Hello,

I have a menu parent with no link which has some children.
When using the responsive with accordion rendering, there is no event in the span tag containing the menu name to open it and display the childrens, as we usualy obtain with a a tag.
Checking the code, I understand a nolink class is needed to add the event, but I don't know where doing that properly.
Can someone help me ?
Thank you.

Marie

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

marieAscomedia created an issue. See original summary.

DuaelFr’s picture

Status: Active » Needs review
FileSize
681 bytes

Same issue here.
Here is the patch.

DuaelFr’s picture

The previous patch failed when trying to display a menu item pointing to an unrouted location. This one is better.

  • mehrpadin committed 50614ae on 8.x-1.x authored by DuaelFr
    Issue #2923016 by DuaelFr: no nolink class added in parent menu without...
mehrpadin’s picture

Status: Needs review » Fixed

Hey there,

Patch applied, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

AdamPS’s picture

If you care about nolink, see also #3013433: Should not clone_parent for <nolink> item