on default there was only one way to open a child node, click on the tiny arrow left of the folder symbol there was a double.click feature in the 3.1.1 jstree Version, downloadable from the jstree website (http://www.jstree.com/)
vakata-jstree-3.1.1-0-g5bece58.zip ->
vakata-jstree-3.1.1-0-g5bece58\vakata-jstree-5bece58\dist\jstree.js
rename the original jstree.js (...\include\js\jstree.js) into else jstree.js.bak and put the vakata-jstree-3.1.1-0... into the directory
thats all, double click feature is enabled, ok and now... single click...
edit the 3.1.1 jstree.js Version
goto Row 444 and set true to false
Code: Select all
dblclick_toggle : true
Code: Select all
.on("dblclick.jstree", ".jstree-anchor", $.proxy(function (e) {
if(this.settings.core.dblclick_toggle) {
this.toggle_node(e.target);
}
}, this))
Code: Select all
.on("click.jstree", ".jstree-anchor", $.proxy(function (e) {
this.toggle_node(e.target);
}, this))
or even easier.. here my jstree.js file