X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2Fdefault_advanced%2Fjs%2Fdtree.js;h=415fafebad7460a78c894e12304e7d397b714ddd;hb=bb63dfd1e580a5e8102f87ae26c62d90f91af3ed;hp=67fec6f493be06e90dd284ecfa11011280d99fb6;hpb=fbffe02466a1035df70719c3db14052c9ce7c520;p=squirrelmail.git diff --git a/templates/default_advanced/js/dtree.js b/templates/default_advanced/js/dtree.js index 67fec6f4..415fafeb 100644 --- a/templates/default_advanced/js/dtree.js +++ b/templates/default_advanced/js/dtree.js @@ -10,7 +10,7 @@ |--------------------------------------------------*/ // Node object -function Node(id, pid, name, url, title, target, icon, iconOpen, open) { +function Node(id, pid, name, url, title, target, icon, iconOpen, accesskey, open) { this.id = id; this.pid = pid; this.name = name; @@ -19,6 +19,7 @@ function Node(id, pid, name, url, title, target, icon, iconOpen, open) { this.target = target; this.icon = icon; this.iconOpen = iconOpen; + this.accesskey = accesskey; this._io = open || false; this._is = false; this._ls = false; @@ -66,8 +67,8 @@ function dTree(objName, imagePath) { }; // Adds a new node to the node array -dTree.prototype.add = function(id, pid, name, url, title, target, icon, iconOpen, open) { - this.aNodes[this.aNodes.length] = new Node(id, pid, name, url, title, target, icon, iconOpen, open); +dTree.prototype.add = function(id, pid, name, url, title, target, icon, iconOpen, accesskey, open) { + this.aNodes[this.aNodes.length] = new Node(id, pid, name, url, title, target, icon, iconOpen, accesskey, open); }; // Open/close all nodes @@ -133,6 +134,7 @@ dTree.prototype.node = function(node, nodeId) { str += '