vakata/jstree — pull request #887 by rip747 (2014-10-26 17:24:48+00:00)
Title: explicitly call toggle_node on selected node

it's annoying that you have to actually click the little arrow in order to expand and collapse nodes while clicking on the actual node name does nothing.

currently you have to do the following to accomplish this:

$('.jstree-filebrowser').jstree().on('select_node.jstree', function (e, data) {
$(this).jstree("toggle_node", data.node);
});

this pull request add in the functionality that people expect when clicking on the node name thus improving over all user experience of the plugin.