Disabled the autoselect feature of the SQL query box for Opera 7 for Windows in order to avoid trouble here.

This commit is contained in:
Alexander M. Turek
2003-02-05 14:57:49 +00:00
parent e56dc294be
commit 24337ae94c
4 changed files with 13 additions and 11 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2003-02-05 Alexander M. Turek <rabus@users.sourceforge.net>
* 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 <lem9@users.sourceforge.net> 2003-02-05 Marc Delisle <lem9@users.sourceforge.net>
* tbl_replace.php3, tbl_replace_fields.php3: do not display the * tbl_replace.php3, tbl_replace_fields.php3: do not display the
UPDATE query if there was some binary upload in it, otherwise UPDATE query if there was some binary upload in it, otherwise

View File

@@ -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. This is a bug in Internet Explorer, other browsers do not behave this way.
</p> </p>
<h4>
[5.14] With Opera 7.00, I am not able to delete characters once I typed them
into the SQL query text box.
</h4>
<p>
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.
</p>
<a name="faqusing"></a><br /> <a name="faqusing"></a><br />
<h3>[6. Using phpMyAdmin]</h3> <h3>[6. Using phpMyAdmin]</h3>

View File

@@ -45,7 +45,10 @@ if ($num_tables == 0 && empty($db_query_force)) {
// loic1: defines wether file upload is available or not // loic1: defines wether file upload is available or not
// (now defined in common.lib.php3) // (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();}"' ? "\n" . ' onfocus="if (typeof(document.layers) == \'undefined\' || typeof(textarea_selected) == \'undefined\') {textarea_selected = 1; this.form.elements[\'sql_query\'].select();}"'
: ''; : '';
?> ?>

View File

@@ -47,7 +47,10 @@ else {
// loic1: defines wether file upload is available or not // loic1: defines wether file upload is available or not
// ($is_upload now defined in common.lib.php3) // ($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();}"' ? "\n" . ' onfocus="if (typeof(document.layers) == \'undefined\' || typeof(textarea_selected) == \'undefined\') {textarea_selected = 1; this.form.elements[\'sql_query\'].select();}"'
: ''; : '';
?> ?>