Home » HTML » HTML_TreeMenu » Bug #331
Konqueror detection patch is wrong
Details
| Submitted | 2003-11-30 21:05 UTC |
|---|---|
| From | jeff at beefstudio dot com |
| Assigned | richard |
| Status | Closed |
| Package | HTML_TreeMenu |
| PHP Version | 4.3.3 |
| OS | Mac OSX.3.1 |
| Roadmaps | (Not assigned) |
Comments
[2003-11-30 21:05 UTC] jeff at beefstudio dot com
Description:
------------
At the end of TreeMenu.js there is some code to detect Konqueror which breaks the detection for other browsers.
The code is:
// Patch from Harald Fielker
if (agt.indexOf('konqueror')) {
...
which will return -1 for any browser other than konqueror.
Simple fix:
if (agt.indexOf('konqueror') != -1) {
...