diff options
author | James Groffen <jim.groffen@gmail.com> | 2016-01-07 14:26:03 +1030 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2016-01-20 18:50:25 +0100 |
commit | f5f5c8c603e95d246d2cde92f56959fedba4666d (patch) | |
tree | 5fbae8a551a2772e0111787ba64a5b5b38d496fd | |
parent | d9983d8ec651166801cd9fac54378bdd527398a4 (diff) | |
download | freeipa-f5f5c8c603e95d246d2cde92f56959fedba4666d.tar.gz freeipa-f5f5c8c603e95d246d2cde92f56959fedba4666d.tar.xz freeipa-f5f5c8c603e95d246d2cde92f56959fedba4666d.zip |
Set close button type attribute to 'button'.
Stops IE10 from closing the dialog on an enter keypress.
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
-rw-r--r-- | install/ui/src/freeipa/dialog.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/dialog.js b/install/ui/src/freeipa/dialog.js index c732a7278..2a2fe0284 100644 --- a/install/ui/src/freeipa/dialog.js +++ b/install/ui/src/freeipa/dialog.js @@ -407,6 +407,7 @@ IPA.dialog = function(spec) { that.title_close_button = $('<button/>', { 'class': 'close', + 'type': 'button', 'aria-hidden': 'true', click: function() { that.close(); |