Changeset 1331


Ignore:
Timestamp:
02/03/18 06:40:51 (8 months ago)
Author:
gogo
Message:

Fix #1619 - dTree Node

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Linker/dTree/dtree.js

    r1195 r1331  
    2323// Node object 
    2424 
    25 function Node(id, pid, name, url, title, target, icon, iconOpen, open) { 
     25function dTreeNode(id, pid, name, url, title, target, icon, iconOpen, open) { 
    2626 
    2727  this.id = id; 
     
    121121  this.aIndent = []; 
    122122 
    123   this.root = new Node(-1); 
     123  this.root = new dTreeNode(-1); 
    124124 
    125125  this.selectedNode = null; 
     
    137137dTree.prototype.add = function(id, pid, name, url, title, target, icon, iconOpen, open) { 
    138138 
    139   this.aNodes[this.aNodes.length] = new Node(id, pid, name, url, title, target, icon, iconOpen, open); 
     139  this.aNodes[this.aNodes.length] = new dTreeNode(id, pid, name, url, title, target, icon, iconOpen, open); 
    140140 
    141141}; 
Note: See TracChangeset for help on using the changeset viewer.