diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2014-01-14 17:29:47 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-03-05 09:59:13 +0100 |
commit | 9b540ef21864f8da822bd92d58385339147e773d (patch) | |
tree | 6d493f296300d668e65a8928a094eaa2da75f459 /ipatests | |
parent | b50cdd55af8af7fdf30a822dce03af68969ddfe6 (diff) | |
download | freeipa-9b540ef21864f8da822bd92d58385339147e773d.tar.gz freeipa-9b540ef21864f8da822bd92d58385339147e773d.tar.xz freeipa-9b540ef21864f8da822bd92d58385339147e773d.zip |
webui: Don't act on keyboard events which originated in different dialog
Fixes issue when:
1. 2 dialogs are opened
2. top dialog's close button is focused
3. user presses enter to execute 'close' action
4. dialog is immediately closed (enter key is still pressed)
5. second dialog automatically receives focus (it's top dialog now)
6. user releases the key
7. second dialog reacts to keyup event - which is by default confirmation mixin's confirm event
8. UNDESIRED behavior occurs
Now confirmation mixin remembers which keys were pressed and released and reacts only to those which originated there.
https://fedorahosted.org/freeipa/ticket/4098
Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
Diffstat (limited to 'ipatests')
0 files changed, 0 insertions, 0 deletions