- Timestamp:
- 2006/12/27 16:55:16 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/html/test/kakinaka/js/treeview/treeview.js
r11370 r11371 741 741 this.data = oData; 742 742 this.children = []; 743 this.index = YAHOO.widget.TreeView.nodeCount; 744 ++YAHOO.widget.TreeView.nodeCount; 743 744 alert(typeof index); 745 if(typeof index == "number"){ 746 this.index = index; 747 }else{ 748 this.index = YAHOO.widget.TreeView.nodeCount; 749 ++YAHOO.widget.TreeView.nodeCount; 750 } 745 751 this.expanded = expanded; 746 752 747 alert(typeof index);748 753 749 754 // oParent should never be null except when we create the root node.
Note: See TracChangeset
for help on using the changeset viewer.