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:
1 parent
d9983d8ec6
commit
f5f5c8c603
1 file changed
+1
@@ -407,6 +407,7 @@ IPA.dialog = function(spec) {
|
||||
|
||||
that.title_close_button = $('<button/>', {
|
||||
'class': 'close',
|
||||
'type': 'button',
|
||||
'aria-hidden': 'true',
|
||||
click: function() {
|
||||
that.close();
|
||||
|
||||
Reference in new issue
Block a user