Open GoogleCodeExporter opened 9 years ago
Update:
after install rc3 trunk version, it works, when I click a node, after page
loaded, It do reselect the node.
But, my site keep load again and again, beacuse every time page loaded ,this
link selected.
So, plese add a option, make just change node's backgroud_color, not reclick
the node.
Original comment by muden...@gmail.com
on 16 Mar 2011 at 10:10
Sorry, I fixed. It's my fault.
I have this code:
$("#tree").bind("select_node.jstree", function (e, data) {
document.location.href = data.rslt.obj.children("a").attr("href");
});
Now ,I update my code:
$("#tree").bind("select_node.jstree", function (e, data) {
if (document.location.href != data.rslt.obj.children("a").attr("href")){
document.location.href = data.rslt.obj.children("a").attr("href");
}
});
Original comment by muden...@gmail.com
on 16 Mar 2011 at 10:24
Original issue reported on code.google.com by
muden...@gmail.com
on 16 Mar 2011 at 9:54