]> source.dussan.org Git - vaadin-framework.git/commitdiff
reverted to trust on isChildrenAllowd only when deciding leaf vs. node (Regression...
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 17 Mar 2008 13:24:49 +0000 (13:24 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 17 Mar 2008 13:24:49 +0000 (13:24 +0000)
svn changeset:4061/svn branch:trunk

src/com/itmill/toolkit/ui/Tree.java

index 25edb814d91797635a8d62fc627d862ed234aecf..b833930be736b24231bf8ebe4a67cc2798a8e508 100644 (file)
@@ -466,8 +466,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical,
                 final Object itemId = i.next();
 
                 // Starts the item / node
-                final boolean isNode = areChildrenAllowed(itemId)
-                        && hasChildren(itemId);
+                final boolean isNode = areChildrenAllowed(itemId);
                 if (isNode) {
                     target.startTag("node");
                 } else {