summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2008-04-14 09:48:25 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2008-04-14 09:48:25 +0000
commitfae9abeb60fe8e65b0ca9fb046292bf276eff3dc (patch)
treeafee13665323dea7e710d9c464b7daf6e3cc9fd6
parent5e270559701626b0d7ace7b98e9fd645e2715da3 (diff)
downloadvaadin-framework-fae9abeb60fe8e65b0ca9fb046292bf276eff3dc.tar.gz
vaadin-framework-fae9abeb60fe8e65b0ca9fb046292bf276eff3dc.zip
fixes #1566
svn changeset:4175/svn branch:trunk
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
index bacfaa5039..3a6375a9c0 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IScrollTable.java
@@ -197,8 +197,10 @@ public class IScrollTable extends Composite implements Table, ScrollListener,
if (uidl.hasAttribute("selectmode")) {
if (uidl.getStringAttribute("selectmode").equals("multi")) {
selectMode = Table.SELECT_MODE_MULTI;
- } else {
+ } else if (uidl.getStringAttribute("selectmode").equals("single")) {
selectMode = Table.SELECT_MODE_SINGLE;
+ } else {
+ selectMode = Table.SELECT_MODE_NONE;
}
}