Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Peccatte <hugues.peccatte@gmail.com>2014-12-27 22:10:37 +0300
committerHugues Peccatte <hugues.peccatte@gmail.com>2014-12-27 22:10:37 +0300
commit0d3a9e4ca6790480e99ca734a5cd3a8baae1a21e (patch)
tree519f3eb64e4a0dda15b3c91f1210cb96a08eea8d /js/ajax.js
parent38bb19ffb66f0c78116f0916b7478d6c0d9f1e4d (diff)
Fix #4673 Delimiter causing page lock
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'js/ajax.js')
-rw-r--r--js/ajax.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/ajax.js b/js/ajax.js
index a40ccd214e..da6584c26c 100644
--- a/js/ajax.js
+++ b/js/ajax.js
@@ -140,6 +140,11 @@ var AJAX = {
* @return void
*/
lockPageHandler: function(event) {
+ //Don't lock on enter.
+ if (0 == event.charCode) {
+ return;
+ }
+
var lockId = $(this).data('lock-id');
if (typeof lockId === 'undefined') {
return;