diff options
author | Henri Sara <hesara@vaadin.com> | 2013-07-03 16:33:50 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2013-07-03 16:33:50 +0300 |
commit | f7cc72df9b6fb54be95a02b9977e9df264037135 (patch) | |
tree | 819a7ba21f633f4809beacca723150071a79eb2d /client | |
parent | 478eeb51cd93812ee425801a42acc566a2fddf62 (diff) | |
download | vaadin-framework-f7cc72df9b6fb54be95a02b9977e9df264037135.tar.gz vaadin-framework-f7cc72df9b6fb54be95a02b9977e9df264037135.zip |
Close only combobox on escape, not the window (#12163)
Change-Id: I356e115b5cd96ba0a598178a15215654f2fd16bb
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VFilterSelect.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/VFilterSelect.java b/client/src/com/vaadin/client/ui/VFilterSelect.java index e08fbf8ab6..a5c1e566ca 100644 --- a/client/src/com/vaadin/client/ui/VFilterSelect.java +++ b/client/src/com/vaadin/client/ui/VFilterSelect.java @@ -1537,6 +1537,7 @@ public class VFilterSelect extends Composite implements Field, KeyDownHandler, break; case KeyCodes.KEY_ESCAPE: reset(); + DOM.eventPreventDefault(DOM.eventGetCurrentEvent()); event.stopPropagation(); break; case KeyCodes.KEY_ENTER: |