mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Autofocus SQL textarea
This commit is contained in:
@@ -137,6 +137,7 @@ if ($_POST) {
|
||||
$q = $history[$_GET["history"]];
|
||||
}
|
||||
textarea("query", $q, 20);
|
||||
echo ($_POST ? "" : "<script type='text/javascript'>document.getElementsByTagName('textarea')[0].focus();</script>\n");
|
||||
?>
|
||||
<p>
|
||||
<input type="hidden" name="token" value="<?php echo $token; ?>">
|
||||
|
Reference in New Issue
Block a user