diff --git a/ChangeLog b/ChangeLog
index 1538ad3f7..22f26ab3c 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
+2003-02-05 Alexander M. Turek
+ * db_details.php3, tbl_query_box.php3: Disabled the autoselect feature of
+ the SQL query box for Opera 7 for Windows in order to avoid trouble here.
+ * Documentation.html: Removed FAQ entry about Opera 7.
+
2003-02-05 Marc Delisle
* tbl_replace.php3, tbl_replace_fields.php3: do not display the
UPDATE query if there was some binary upload in it, otherwise
diff --git a/Documentation.html b/Documentation.html
index 8b9896aa2..3465a01d3 100755
--- a/Documentation.html
+++ b/Documentation.html
@@ -2218,15 +2218,6 @@ $cfg['PmaAbsoluteUri'] = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://'
This is a bug in Internet Explorer, other browsers do not behave this way.
-
- [5.14] With Opera 7.00, I am not able to delete characters once I typed them
- into the SQL query text box.
-
-
- This is a bug in Opera 7. For now, we can only recommend either to switch
- off JavaScript (e.g. by pressing F12) or to downgrade to version 6.05.
-
-
[6. Using phpMyAdmin]
diff --git a/db_details.php3 b/db_details.php3
index b7c776aef..51788bbcd 100755
--- a/db_details.php3
+++ b/db_details.php3
@@ -45,7 +45,10 @@ if ($num_tables == 0 && empty($db_query_force)) {
// loic1: defines wether file upload is available or not
// (now defined in common.lib.php3)
-$auto_sel = ($cfg['TextareaAutoSelect'])
+$auto_sel = ($cfg['TextareaAutoSelect']
+ // 2003-02-05 rabus: This causes big trouble with Opera 7 for
+ // Windows, so let's disable it there...
+ && !(PMA_USR_OS == 'Win' && PMA_USR_BROWSER_AGENT == 'OPERA' && PMA_USR_BROWSER_VER >= 7))
? "\n" . ' onfocus="if (typeof(document.layers) == \'undefined\' || typeof(textarea_selected) == \'undefined\') {textarea_selected = 1; this.form.elements[\'sql_query\'].select();}"'
: '';
?>
diff --git a/tbl_query_box.php3 b/tbl_query_box.php3
index 48cc5f417..a86ff4e3e 100755
--- a/tbl_query_box.php3
+++ b/tbl_query_box.php3
@@ -47,7 +47,10 @@ else {
// loic1: defines wether file upload is available or not
// ($is_upload now defined in common.lib.php3)
-$auto_sel = ($cfg['TextareaAutoSelect'])
+$auto_sel = ($cfg['TextareaAutoSelect']
+ // 2003-02-05 rabus: This causes big trouble with Opera 7 for
+ // Windows, so let's disable it there...
+ && !(PMA_USR_OS == 'Win' && PMA_USR_BROWSER_AGENT == 'OPERA' && PMA_USR_BROWSER_VER >= 7))
? "\n" . ' onfocus="if (typeof(document.layers) == \'undefined\' || typeof(textarea_selected) == \'undefined\') {textarea_selected = 1; this.form.elements[\'sql_query\'].select();}"'
: '';
?>