]> source.dussan.org Git - vaadin-framework.git/commitdiff
fixes #2050, Tree cannot send only partial update if items are expanded from server...
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 3 Sep 2008 11:41:33 +0000 (11:41 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 3 Sep 2008 11:41:33 +0000 (11:41 +0000)
svn changeset:5342/svn branch:trunk

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

index 61151debad1bedd393bab915a172b15f84afda0d..2def948c5aa635b85011ff29869aca598ee03af5 100644 (file)
@@ -148,7 +148,9 @@ public class Tree extends AbstractSelect implements Container.Hierarchical,
      * @return True iff the expand operation succeeded
      */
     public boolean expandItem(Object itemId) {
-        return expandItem(itemId, true);
+        boolean success = expandItem(itemId, true);
+        requestRepaint();
+        return success;
     }
 
     /**