mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44:07 +02:00
Work in IE8
Revert "Handle keypress instead of keydown (bug #3112458)"
This reverts commit 71438d57c3
.
This commit is contained in:
@@ -57,7 +57,7 @@ if ($_POST) {
|
||||
<p>
|
||||
<?php
|
||||
echo ($_POST["add_x"] || strpos($name, "\n")
|
||||
? '<textarea id="name" name="name" rows="10" cols="40" onkeypress="return textareaKeypress(this, event);">' . h($name) . '</textarea><br>'
|
||||
? '<textarea id="name" name="name" rows="10" cols="40" onkeydown="return textareaKeydown(this, event);">' . h($name) . '</textarea><br>'
|
||||
: '<input id="name" name="name" value="' . h($name) . '" maxlength="64">'
|
||||
) . "\n" . ($collations ? html_select("collation", array("" => "(" . lang('collation') . ")") + $collations, $collate) : "");
|
||||
?>
|
||||
|
Reference in New Issue
Block a user