Permalink
Browse files

Autofocus in create schema

  • Loading branch information...
vrana committed Dec 22, 2011
1 parent af3b762 commit 27b5e46a457bd6893464a802b941ebfcfc724036
Showing with 2 additions and 1 deletion.
  1. +2 −1 adminer/scheme.inc.php
View
@@ -25,7 +25,8 @@
?>
<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'); ?>">
<?php
if ($_GET["ns"] != "") {

0 comments on commit 27b5e46

Please sign in to comment.