If you load any leaf elements onto the tree which are not contained in a branch it gives an error that the method doesn't exist on undefined... which makes sense
$("body").on("click.tree.data-api", "[role=leaf]", function (e) {
.........
e = $.Event("nodeselect", {
node: $(branch).data("tree").node($this)
});
I tried hacking in basic support for this, but I couldn't get it right... ideas?
If you load any
leafelements onto the tree which are not contained in abranchit gives an error that the method doesn't exist on undefined... which makes senseI tried hacking in basic support for this, but I couldn't get it right... ideas?