I have a JsTree instance in which all childs are loaded async by a json call.
How can I detect if a user has selected a leaf node?
I've tried to use the success callback of ajax, but of course that also gets called if you simply open a Node with a "+". Is there an event like "child nodes loaded"?