04-06-2012, 04:10 PM
As Stephen says, the tree view is pretty old. The problem arises from the routine used to detect the browser, which doesn't detect Chrome or Opera properly. There's a simple fix. Find the initializeDocument function in the file ftiens4.js which you'll find in the class.tree folder. add case 'nn5': immediately above case 'gecko':. Don't add a break; or any other code. This allows the code to detect an appropriate set of options for Chrome, and it works properly thereafter.
This is the function with the patch installed:
This is the function with the patch installed:
Code:
function initializeDocument()
{
switch(navigator.family)
{
case 'opera':
case 'ie4':
browserVersion = 1 //IE4
break;
case 'nn4':
browserVersion = 2 //NS4
break;
case 'nn5':
case 'gecko':
browserVersion = 3 //NS6
break;
default:
browserVersion = 0 //other
break;
}