Skip to content
Snippets Groups Projects
Commit 0cfd3d4c authored by User expired's avatar User expired
Browse files

OO-2103: do not render checkboxes on elements not accessible

parent 4448fe15
No related branches found
No related tags found
No related merge requests found
......@@ -325,7 +325,7 @@ public class MenuTreeRenderer extends DefaultComponentRenderer {
}
target.append("'>");
if(tree.isMultiSelect() && tree.getMenuTreeItem() != null) {
if(tree.isMultiSelect() && tree.getMenuTreeItem() != null && curRoot.isAccessible()) {
renderCheckbox(target, curRoot, tree);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment