parent
8ca233d511
commit
baecb782e5
@ -3838,6 +3838,11 @@ AJAX.registerOnload('functions.js', function () {
|
||||
$('#createViewDialog').find('input, select').live('keydown', function (e) {
|
||||
if (e.which === 13) { // 13 is the ENTER key
|
||||
e.preventDefault();
|
||||
|
||||
// with preventing default, selection by <select> tag
|
||||
// was also prevented in IE
|
||||
$(this).blur();
|
||||
|
||||
$(this).closest('.ui-dialog').find('.ui-button:first').click();
|
||||
}
|
||||
}); // end $.live()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user