rfe #2963310 [interface] Focus TEXTAREA "sql_query" on click on "SQL" link
This commit is contained in:
@@ -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.
|
- bug #2954916 [interface] Do not insert doc links to not formatted SQL.
|
||||||
+ [lang] Chinese Simplified update, thanks to Shanyan Baishui - rimyxp
|
+ [lang] Chinese Simplified update, thanks to Shanyan Baishui - rimyxp
|
||||||
+ [lang] Turkish update, thanks to Burak Yavuz
|
+ [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)
|
3.3.1.0 (not yet released)
|
||||||
- bug #2941037 [core] Database structure not sorted by table correctly
|
- bug #2941037 [core] Database structure not sorted by table correctly
|
||||||
|
@@ -298,6 +298,12 @@ function PMA_sqlQueryFormInsert($query = '', $is_querywindow = false, $delimiter
|
|||||||
.$auto_sel . $locking . '>' . htmlspecialchars($query) . '</textarea>' . "\n";
|
.$auto_sel . $locking . '>' . htmlspecialchars($query) . '</textarea>' . "\n";
|
||||||
echo '</div>' . "\n";
|
echo '</div>' . "\n";
|
||||||
|
|
||||||
|
echo '<script type="text/javascript">' . "\n"
|
||||||
|
.'//<![CDATA[' . "\n"
|
||||||
|
.'document.getElementById("sqlquery").focus();' . "\n"
|
||||||
|
.'//]]>' . "\n"
|
||||||
|
.'</script>' . "\n";
|
||||||
|
|
||||||
if (count($fields_list)) {
|
if (count($fields_list)) {
|
||||||
echo '<div id="tablefieldscontainer">' . "\n"
|
echo '<div id="tablefieldscontainer">' . "\n"
|
||||||
.'<label>' . $GLOBALS['strFields'] . '</label>' . "\n"
|
.'<label>' . $GLOBALS['strFields'] . '</label>' . "\n"
|
||||||
|
Reference in New Issue
Block a user