Set close button type attribute to 'button'.

Stops IE10 from closing the dialog on an enter keypress.

Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
James Groffen authored and Petr Vobornik committed 2016-01-20 18:50:25 +01:00
1 parent d9983d8ec6
commit f5f5c8c603
1 file changed
+1
+1
View File
@@ -407,6 +407,7 @@ IPA.dialog = function(spec) {
that.title_close_button = $('<button/>', {
'class': 'close',
'type': 'button',
'aria-hidden': 'true',
click: function() {
that.close();