Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2014-03-13 15:26:36 +01:00
commit 1d45d7a235
2 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,7 @@ phpMyAdmin - ChangeLog
- bug #4301 Grid edit: "SELECT" query is replaced by "UPDATE" query after edit
- bug #4278 reCaptcha re-login requires double effort
- bug #4324 Datepicker not showing up on insert page
- bug #3991 Problem selecting item in select boxes with the ENTER keystroke in some browsers
4.1.9.0 (2014-03-06)
- bug #4279 CTRL + up or down moves two fields (part one)

View File

@ -3843,6 +3843,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()