Konqueror 3 and Opera 7 works with tree view (bug #820717).

This commit is contained in:
Michal Čihař
2003-10-10 10:21:32 +00:00
parent b6c81d3f3f
commit 164d090f7e
2 changed files with 6 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2003-10-10 Michal Cihar <nijel@users.sourceforge.net>
* libraries/export/sql.php3: Fix PMA_getTableContentOld (bug #820932).
* left.php3: Konqueror 3 and Opera 7 works with tree view (bug #820717).
2003-10-07 Marc Delisle <lem9@users.sourceforge.net>
* lang/russian*: updated, thanks to Artyom Rabzonov

View File

@@ -247,11 +247,14 @@ if (($num_dbs > 1 || !empty($cfg['LeftFrameTableSeparator'])) && !$cfg['LeftFram
// Uggly fix for Opera and Konqueror 2.2 that are half DOM compliant
if (capable) {
if (typeof(window.opera) != 'undefined') {
var browserName = ' ' + navigator.userAgent.toLowerCase();
if ((browserName.indexOf('konqueror 7') == 0)) {
capable = 0;
}
}
else if (typeof(navigator.userAgent) != 'undefined') {
var browserName = ' ' + navigator.userAgent.toLowerCase();
if (browserName.indexOf('konqueror') > 0) {
if ((browserName.indexOf('konqueror') > 0) && (browserName.indexOf('konqueror/3') == 0)) {
capable = 0;
}
} // end if... else if...