1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Highlight default submit button

This commit is contained in:
Jakub Vrana
2013-05-04 17:02:59 -07:00
parent 94a0cc8de8
commit b7021c9c7f
12 changed files with 102 additions and 13 deletions

View File

@@ -62,7 +62,7 @@ echo ($_POST["add_x"] || strpos($name, "\n")
: '<input name="name" id="name" value="' . h($name) . '" maxlength="64" autocapitalize="off">'
) . "\n" . ($collations ? html_select("collation", array("" => "(" . lang('collation') . ")") + $collations, $collate) : "");
?>
<script type='text/javascript'>document.getElementById('name').focus();</script>
<script type='text/javascript'>focus(document.getElementById('name'));</script>
<input type="submit" value="<?php echo lang('Save'); ?>">
<?php
if (DB != "") {