summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-06-03 20:09:56 +0300
committerArtur Signell <artur@vaadin.com>2013-06-04 16:56:39 +0300
commit892b8ba4e3f37ddda8c213a8534fc287b5cf00c9 (patch)
tree6343f929e9fbcadffa3d6c8062bd4451ad58628f /client
parent158c162d688fdfa701f9c6c9035e27d9f64a312f (diff)
downloadvaadin-framework-892b8ba4e3f37ddda8c213a8534fc287b5cf00c9.tar.gz
vaadin-framework-892b8ba4e3f37ddda8c213a8534fc287b5cf00c9.zip
Do not submit TextArea value on enter in IE (#11982)
For some reason the earlier patch was merged as a no-op Change-Id: Id11383495b6e36991d6bddcd4cf977145c455e30
Diffstat (limited to 'client')
-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.
+ }
+
}