]> source.dussan.org Git - vaadin-framework.git/commitdiff
text change events now properly detected from variables
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 10 Nov 2010 09:53:17 +0000 (09:53 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Wed, 10 Nov 2010 09:53:17 +0000 (09:53 +0000)
svn changeset:15950/svn branch:6.5

src/com/vaadin/ui/TextField.java

index 194a53c7e51c9a7821a917a0c6be273bfccc4a24..245c4989594e8b50a1292f5147e74fe8ef77c528 100644 (file)
@@ -429,7 +429,6 @@ public class TextField extends AbstractTextField implements
         if (variables.containsKey(VTextField.VAR_CURSOR)) {
             Integer object = (Integer) variables.get(VTextField.VAR_CURSOR);
             lastKnownCursorPosition = object.intValue();
-            textChangeEventPending = true;
         }
         if (variables.containsKey(VTextField.VAR_CUR_TEXT)) {
             /*
@@ -438,6 +437,7 @@ public class TextField extends AbstractTextField implements
              * the client to server. Just "commit" the value from currentText to
              * the value.
              */
+            textChangeEventPending = true;
             handleInputEventTextChange(variables);
         }