diff options
author | Anna Koskinen <anna@vaadin.com> | 2014-10-16 13:37:48 +0300 |
---|---|---|
committer | Henri Sara <hesara@vaadin.com> | 2015-01-30 13:12:14 +0000 |
commit | e88f71dd6d1d7634e3a90a7e53859ff6dc028e21 (patch) | |
tree | 8ac7f9b413734fdc7a223ae919ba416f70b57fe0 /client | |
parent | 6f0817fbe7ad064b4a7d38db341575f02efc193b (diff) | |
download | vaadin-framework-e88f71dd6d1d7634e3a90a7e53859ff6dc028e21.tar.gz vaadin-framework-e88f71dd6d1d7634e3a90a7e53859ff6dc028e21.zip |
Moved accessibility shortcut handling to server-side. [#14843]
Also allowed multiple shortcuts for closing Window.
Change-Id: I35280ad1553af10ae54bc001e5707357f206b0ee
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/VWindow.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/ui/VWindow.java b/client/src/com/vaadin/client/ui/VWindow.java index 6977cf9e7f..501dedbaa8 100644 --- a/client/src/com/vaadin/client/ui/VWindow.java +++ b/client/src/com/vaadin/client/ui/VWindow.java @@ -1338,9 +1338,7 @@ public class VWindow extends VOverlay implements ShortcutActionHandlerOwner, @Override public void onKeyUp(KeyUpEvent event) { - if (isClosable() && event.getNativeKeyCode() == KeyCodes.KEY_ESCAPE) { - onCloseClick(); - } + // do nothing } @Override |