Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2007-10-20 21:54:15 +0400
committerMarc Delisle <marc@infomarc.info>2007-10-20 21:54:15 +0400
commitad8dc8e1890f8be824099df420dde7f031e18cfb (patch)
treeb0e0dd346825021343fcb38ebc7fbbf0e261797e /querywindow.php
parent6342e828ea4cbf0685f716f08c9fc262cff2946c (diff)
bug #1805102, TextareaAutoSelect issues
Diffstat (limited to 'querywindow.php')
-rw-r--r--querywindow.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/querywindow.php b/querywindow.php
index 08af2dd44f..1d16bfcf0d 100644
--- a/querywindow.php
+++ b/querywindow.php
@@ -183,6 +183,12 @@ if (PMA_isValid($_REQUEST['init'])) {
'function' => 'PMA_querywindowResize',
);
}
+// always set focus to the textarea
+$js_events[] = array(
+ 'object' => 'window',
+ 'event' => 'load',
+ 'function' => 'PMA_querywindowSetFocus',
+);
/**
* start HTTP/HTML output