summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2008-03-04 09:17:45 +0000
committerMarc Englund <marc.englund@itmill.com>2008-03-04 09:17:45 +0000
commitbf910594825bb1a6b58c4f6c02d30f5779387ba9 (patch)
treeb0826fe93718d0229e96b4500c11a086ceadc584
parent5c4db3461bf91acba2229f87e528156712cae3ef (diff)
downloadvaadin-framework-bf910594825bb1a6b58c4f6c02d30f5779387ba9.tar.gz
vaadin-framework-bf910594825bb1a6b58c4f6c02d30f5779387ba9.zip
Enabled selectmode=none. Fixes #1459
svn changeset:3962/svn branch:trunk
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java
index d592462faa..79fcface91 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/ITree.java
@@ -112,7 +112,7 @@ public class ITree extends FlowPanel implements Paintable {
childTree.updateFromUIDL(childUidl, client);
}
final String selectMode = uidl.getStringAttribute("selectmode");
- selectable = selectMode != null;
+ selectable = !"none".equals(selectMode);
isMultiselect = "multi".equals(selectMode);
selectedIds = uidl.getStringArrayVariableAsSet("selected");