From 4a02231ea2bceb9cf476704bbea644524701556f Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Tue, 9 Mar 2010 16:02:57 +0000 Subject: [PATCH] rfe #2963310 [interface] Focus TEXTAREA "sql_query" on click on "SQL" link --- ChangeLog | 1 + libraries/sql_query_form.lib.php | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2361edf3a..d1cebb132 100644 --- a/ChangeLog +++ b/ChangeLog @@ -47,6 +47,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - bug #2954916 [interface] Do not insert doc links to not formatted SQL. + [lang] Chinese Simplified update, thanks to Shanyan Baishui - rimyxp + [lang] Turkish update, thanks to Burak Yavuz ++ rfe #2963310 [interface] Focus TEXTAREA "sql_query" on click on "SQL" link 3.3.1.0 (not yet released) - bug #2941037 [core] Database structure not sorted by table correctly diff --git a/libraries/sql_query_form.lib.php b/libraries/sql_query_form.lib.php index 97a15e310..f66b7e86d 100644 --- a/libraries/sql_query_form.lib.php +++ b/libraries/sql_query_form.lib.php @@ -298,6 +298,12 @@ function PMA_sqlQueryFormInsert($query = '', $is_querywindow = false, $delimiter .$auto_sel . $locking . '>' . htmlspecialchars($query) . '' . "\n"; echo '' . "\n"; + echo '' . "\n"; + if (count($fields_list)) { echo '
' . "\n" .'' . "\n"