Permalink
Browse files

Merge remote-tracking branch 'origin/master'

  • Loading branch information...
weblate committed Mar 13, 2014
2 parents d5ef8df + 941fafd commit 1d45d7a23559fdd55d8831759f52bbe16de82e83
Showing with 6 additions and 0 deletions.
  1. +1 −0 ChangeLog
  2. +5 −0 js/functions.js
View
@@ -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
@@ -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()

0 comments on commit 1d45d7a

Please sign in to comment.