Merge pull request #60 from dickfickling/master

Add back layout files to dir tree
This commit is contained in:
adam 2012-07-24 06:36:32 -07:00
commit 191d1bca18

View File

@ -42,13 +42,13 @@ class ContentChildren extends AbstractContentChildren {
List<Content> children = ContentHierarchyVisitor.getChildren(parent);
// To not display LayoutFiles
Iterator<Content> it = children.iterator();
while(it.hasNext()) {
Content child = it.next();
if(child instanceof LayoutFile) {
it.remove();
}
}
// Iterator<Content> it = children.iterator();
// while(it.hasNext()) {
// Content child = it.next();
// if(child instanceof LayoutFile) {
// it.remove();
// }
// }
setKeys(children.subList(0, Math.min(children.size(), MAX_CHILD_COUNT)));
}