[Freeipa-users] IE10 Dialogs close on Enter keypress

Jim Groffen jim.groffen at gmail.com
Thu Jan 7 05:11:24 UTC 2016


Hello,

I found that when running FreeIPA Web UI on IE10 that modal dialogs close
when enter is pressed. Normal functionality is to 'submit' the dialog on an
enter keypress.

I found a solution by adding a type="button" attribute to the close button
of the dialog (in /install/ui/src/freeipa/dialog.js).

I have tested on recent Chrome, IE and Firefox versions as well as on IE10.
Seems to be no side-effects.

Attached is a patch showing the change I made. Apologies if the patch isn't
formatted correctly.

Regards,

Jim G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20160107/33a48e28/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_ie10_dialog_close_on_keypress_enter.patch
Type: text/x-patch
Size: 826 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-users/attachments/20160107/33a48e28/attachment.bin>


More information about the Freeipa-users mailing list