From 5130615c0a94a3a13d9e97c3845c408732bfc019 Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Thu, 15 Dec 2011 23:03:03 +0000 Subject: [PATCH] Fixed bug # 3460090 - TextareaAutoSelect feature broken --- ChangeLog | 1 + libraries/sql_query_form.lib.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7ab86364b..86b69657f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog ====================== 3.4.10.0 (not yet released) +- bug #3460090 [interface] TextareaAutoSelect feature broken 3.4.9.0 (not yet released) - bug #3442028 [edit] Inline editing enum fields with null shows no dropdown diff --git a/libraries/sql_query_form.lib.php b/libraries/sql_query_form.lib.php index 74cae9ff2..c342f3a32 100644 --- a/libraries/sql_query_form.lib.php +++ b/libraries/sql_query_form.lib.php @@ -200,7 +200,7 @@ function PMA_sqlQueryFormInsert($query = '', $is_querywindow = false, $delimiter // enable auto select text in textarea if ($GLOBALS['cfg']['TextareaAutoSelect']) { - $auto_sel = ' onfocus="selectContent(this, sql_box_locked, true)"'; + $auto_sel = ' onclick="selectContent(this, sql_box_locked, true)"'; } else { $auto_sel = ''; }