Javascript improvements and fix for IE8

Monotone-Parent: ac5f8b237dc599527e40ae6ad5333633c8dfffe1
Monotone-Revision: 90cccbef5388ee00f07794b49092e47c6767a899

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-06-02T19:45:07
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2009-06-02 19:45:07 +00:00
parent 3f4b8376af
commit a366d9150a
12 changed files with 85 additions and 102 deletions
+1
View File
@@ -133,6 +133,7 @@ dTree.prototype.addNode = function(pNode) {
dTree.prototype.node = function(node, nodeId) {
var str = '';
this.aNodes[nodeId] = node;
if (this.root.id != node.pid || !this.config.hideRoot) {
str += '<div class="dTreeNode"';
if (node.datatype) str += ' datatype="' + node.datatype + '"';