Revision 5687
Added by ben leinfelder almost 14 years ago
index.jsp | ||
---|---|---|
139 | 139 |
|
140 | 140 |
// actually prune if we should |
141 | 141 |
doActiveDomain(divId); |
142 |
|
|
143 |
// open first node always |
|
144 |
$("#" + divId).jstree("open_node", $("#" + divId).children("ul").first().children("li").first()); |
|
142 | 145 |
|
143 | 146 |
// open to the node to last selected |
144 | 147 |
var nodePath = $("#" + divId).jstree("get_path", $(selectedNode)); |
Also available in: Unified diff
always open the top level node of the tree when it loads