1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

Utilize bodyKeydown function

This commit is contained in:
Jakub Vrana
2011-03-21 13:53:48 +01:00
parent b68ddcad2b
commit 7d152fbabf
8 changed files with 11 additions and 14 deletions

View File

@@ -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 onkeydown='return textareaKeydown(this, event);'>" . h($value) . '</textarea>';
return "<textarea cols='30' rows='1' style='height: 1.2em;'$attrs>" . h($value) . '</textarea>';
}
}