aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/com/vaadin/client/ui/VTextArea.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VTextArea.java b/client/src/com/vaadin/client/ui/VTextArea.java
index 45e0532451..9e39a5ea5a 100644
--- a/client/src/com/vaadin/client/ui/VTextArea.java
+++ b/client/src/com/vaadin/client/ui/VTextArea.java
@@ -285,4 +285,12 @@ public class VTextArea extends VTextField {
}
this.wordwrap = wordwrap;
}
+
+ @Override
+ public void onKeyDown(KeyDownEvent event) {
+ // Overridden to avoid submitting TextArea value on enter in IE. This is
+ // another reason why widgets should inherit a common abstract
+ // class instead of directly each other.
+ }
+
}