Skip to content

Commit

Permalink
Merge pull request #2518 from pankajlele/bug/menu-no-css-class
Browse files Browse the repository at this point in the history
BUGFIX: Neos.NodeTypes:Menu has no default class attribute
  • Loading branch information
albe committed Apr 22, 2020
2 parents 8f3aef7 + 46e7ccc commit bd496f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/Private/Fusion/Root.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ prototype(Neos.NodeTypes.Navigation:Navigation) < prototype(Neos.Neos:Menu) {
maximumLevels = ${q(node).property('maximumLevels')}
maximumLevels.@process.1 = ${String.toInteger(value)}

attributes.class.@process < prototype(Neos.Neos:Content).attributes.class.@process

active.attributes = Neos.Fusion:Attributes {
class = 'active'
}
Expand Down

0 comments on commit bd496f1

Please sign in to comment.