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

Send select search form by Enter on <select>

This commit is contained in:
Jakub Vrana
2011-03-18 17:24:29 +01:00
parent 266d83215d
commit 5586c51d18
3 changed files with 13 additions and 1 deletions

View File

@@ -196,7 +196,7 @@ $adminer->selectLinks($table_status, $set);
if (!$columns) {
echo "<p class='error'>" . lang('Unable to select the table') . ($fields ? "." : ": " . error()) . "\n";
} else {
echo "<form action='' id='form'>\n";
echo "<form action='' id='form' onkeydown='searchKeydown(this, event);'>\n";
echo "<div style='display: none;'>";
hidden_fields_get();
echo (DB != "" ? '<input type="hidden" name="db" value="' . h(DB) . '">' . (isset($_GET["ns"]) ? '<input type="hidden" name="ns" value="' . h($_GET["ns"]) . '">' : "") : ""); // not used in Editor