- Timestamp:
- 2006/12/27 18:32:29 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/branches/ec-cube-beta/html/test/kakinaka/js/treeview/treeview.js
r11391 r11392 501 501 YAHOO.widget.TreeView.getNode = function(treeId, nodeIndex) { 502 502 var t = YAHOO.widget.TreeView.getTree(treeId); 503 504 alert(t.getNodeByIndex(nodeIndex)); 503 505 504 506 return (t) ? t.getNodeByIndex(nodeIndex) : null; … … 1254 1256 toggle: function() { 1255 1257 if (!this.tree.locked && ( this.hasChildren(true) || this.isDynamic()) ) { 1256 //if (this.expanded) { this.collapse(); } else { this.expand(); } 1257 if (this.expanded) { } else { this.expand(); } 1258 if (this.expanded) { this.collapse(); } else { this.expand(); } 1258 1259 } 1259 1260 },
Note: See TracChangeset
for help on using the changeset viewer.