From 74363e764d6abdd0bc6cdc2969f3aff64c1c7576 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 20 Oct 2007 17:54:15 +0000 Subject: [PATCH] bug #1805102, TextareaAutoSelect issues --- ChangeLog | 3 +++ libraries/config.default.php | 2 +- querywindow.php | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f0d35158c..b83fb62f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,9 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - it should not be possible to move or copy a table to information_schema - bug #1814733 win: copy db to mixed name db fails - bug #1777249 [display] Remove horizontal lines in navigation panel +- bug #1805102 [display] TextareaAutoSelect issues: set this parameter + default value to false to help cut&paste from a terminal window; also + set focus to the textarea 2.11.1.2 (2007-10-17) - fixed XSS in server_status.php, thanks to Omer Singer, The DigiTrust Group diff --git a/libraries/config.default.php b/libraries/config.default.php index 447b5a6e1..0a90c2d00 100644 --- a/libraries/config.default.php +++ b/libraries/config.default.php @@ -1713,7 +1713,7 @@ $cfg['LongtextDoubleTextarea'] = true; * * @global boolean $cfg['TextareaAutoSelect'] */ -$cfg['TextareaAutoSelect'] = true; +$cfg['TextareaAutoSelect'] = false; /** * textarea size (columns) for CHAR/VARCHAR diff --git a/querywindow.php b/querywindow.php index d1858e47d..aeb8c024f 100644 --- a/querywindow.php +++ b/querywindow.php @@ -222,6 +222,7 @@ if (PMA_isValid($_REQUEST['init'])) { echo 'PMA_querywindowResize();' . "\n"; } ?> +document.getElementById('sqlquery').focus(); } //]]>