mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Work in IE8
Revert "Handle keypress instead of keydown (bug #3112458)"
This reverts commit 71438d57c3
.
This commit is contained in:
@@ -9,7 +9,7 @@ class AdminerEditTextarea {
|
||||
|
||||
function editInput($table, $field, $attrs, $value) {
|
||||
if (ereg('char', $field["type"])) {
|
||||
return "<textarea cols='30' rows='1' style='height: 1.2em;'$attrs onkeypress='return textareaKeypress(this, event);'>" . h($value) . '</textarea>';
|
||||
return "<textarea cols='30' rows='1' style='height: 1.2em;'$attrs onkeydown='return textareaKeydown(this, event);'>" . h($value) . '</textarea>';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user