From ceef6bc6d3f5932cc5114c39559e437105f90262 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 31 Jan 2011 15:57:28 +0100 Subject: [PATCH] Focus first field with insert (bug #3126501) --- adminer/edit.inc.php | 9 +++++---- changes.txt | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/adminer/edit.inc.php b/adminer/edit.inc.php index 9617cb84..bd79c3c3 100644 --- a/adminer/edit.inc.php +++ b/adminer/edit.inc.php @@ -64,7 +64,7 @@ if ($_POST["save"]) { } ?> -
+ \n"; @@ -103,8 +103,9 @@ if ($fields) { echo '\n"; } } -if ($update) { - echo "\n"; -} +echo ($update + ? "\n" + : "\n" +); ?>
diff --git a/changes.txt b/changes.txt index 835f5794..02efeb9d 100644 --- a/changes.txt +++ b/changes.txt @@ -2,6 +2,8 @@ Adminer 3.2.0-dev: Get long texts and slow information by AJAX All links and some forms by AJAX in browsers with support for history.pushState Ability to search by expression in select +Export SQL command result (bug #3116854) +Focus first field with insert (bug #3126501) Permanent link in schema Display total time in show only errors mode in SQL command History: edit all @@ -9,6 +11,7 @@ MS SQL: auto primary and foreign key SQLite: display 0 Create table default data type: int Focus upper/lower fields by Ctrl+Up/Ctrl+Down +Hide credentials for SQLite Homepage customization Use IN for search in numeric fields (Editor) Use password input for _md5 and _sha1 fields (Editor)