Skip to content
Browse files

Another fix in active trail detection

git-svn-id: https://svn.apache.org/repos/asf/karaf/webconsole/trunk@1438150 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 9f850be commit 145780766f15bf27060d40eff801ee3d5d92113c @splatch splatch committed Jan 24, 2013
View
2 core/src/main/java/org/apache/karaf/webconsole/core/navigation/markup/ModuleTabPanel.java
@@ -58,7 +58,7 @@ protected void populateItem(ListItem<Link<Page>> item) {
Link<Page> link = item.getModelObject();
item.add(link);
if (LinkUtils.isActiveTrail(link)) {
- item.getParent().add(new AttributeModifier("class", "active"));
+ item.add(new AttributeModifier("class", "active"));
}
}
});

0 comments on commit 1457807

Please sign in to comment.
Something went wrong with that request. Please try again.