summaryrefslogtreecommitdiffstats
path: root/src/com/itmill
diff options
context:
space:
mode:
authorMarc Englund <marc.englund@itmill.com>2008-03-11 09:52:06 +0000
committerMarc Englund <marc.englund@itmill.com>2008-03-11 09:52:06 +0000
commit66b2d72a09f406b7d0b4a9ed50dd31e58bb2afb5 (patch)
tree8ca1a0b1b6a3ea9105c822bbc7bda8440d9e69ea /src/com/itmill
parent6f8ef78a85e40c7b3cb009a5e19158af45c12f5f (diff)
downloadvaadin-framework-66b2d72a09f406b7d0b4a9ed50dd31e58bb2afb5.tar.gz
vaadin-framework-66b2d72a09f406b7d0b4a9ed50dd31e58bb2afb5.zip
selectedOptionKey was not nulled when selection was nulled serverside, so selecting the item that was selected before the serverside nulling sometimes did not send variable change.
svn changeset:4023/svn branch:trunk
Diffstat (limited to 'src/com/itmill')
-rw-r--r--src/com/itmill/toolkit/terminal/gwt/client/ui/IFilterSelect.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/itmill/toolkit/terminal/gwt/client/ui/IFilterSelect.java b/src/com/itmill/toolkit/terminal/gwt/client/ui/IFilterSelect.java
index 9bcd66c3d2..5b4a06703b 100644
--- a/src/com/itmill/toolkit/terminal/gwt/client/ui/IFilterSelect.java
+++ b/src/com/itmill/toolkit/terminal/gwt/client/ui/IFilterSelect.java
@@ -592,6 +592,7 @@ public class IFilterSelect extends Composite implements Paintable,
&& uidl.getStringArrayVariable("selected").length == 0) {
// select nulled
tb.setText(emptyText);
+ selectedOptionKey = null;
// TODO add class CLASSNAME_EMPTY
}