Skip to content

Commit

Permalink
BUGFIX: Neos.NodeTypes:Menu has no default class attribute
Browse files Browse the repository at this point in the history
This fixes a previous breaking change where "Menu" node-type is not
getting a default class attribute rendered for instance 'neos-nodetypes-menu'
where a website's stylesheet is relying on this CSS class
  • Loading branch information
pankajlele committed May 21, 2019
1 parent 95baba6 commit 939da09
Showing 1 changed file with 2 additions and 0 deletions.
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 939da09

Please sign in to comment.