1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 23:57:29 +02:00

Autofocus in create schema

This commit is contained in:
Jakub Vrana
2011-12-22 00:04:44 -08:00
parent af3b762067
commit 27b5e46a45

View File

@@ -25,7 +25,8 @@ if (!$row) {
?> ?>
<form action="" method="post"> <form action="" method="post">
<p><input name="name" value="<?php echo h($row["name"]); ?>"> <p><input id="name" name="name" value="<?php echo h($row["name"]); ?>">
<script type='text/javascript'>document.getElementById('name').focus();</script>
<input type="submit" value="<?php echo lang('Save'); ?>"> <input type="submit" value="<?php echo lang('Save'); ?>">
<?php <?php
if ($_GET["ns"] != "") { if ($_GET["ns"] != "") {