This extension is excellent, thank you.

I found a bug where if you select the tree root and a bunch of nodes and then try to click one of them - the selection doesn't change. This is very apparent if you select all of the nodes including root and can't get back to single selection (unless you start ctrl-clicking to deselect first).

This is my fix:

change:
onNodeClick : function(node, e){
if (e.shiftKey) e.preventDefault();
// disable select unless not using a dragZone, or a multiselectdragzone
if ( !this.tree.dragZone || !this.tree.dragZone.isMultiSelect ) {
this.onMouseDown(node, e);
this.onMouseUp(node, e);
}
},
to:
onNodeClick : function(node, e){
if (e.shiftKey) e.preventDefault();
// disable select unless not using a dragZone, or a multiselectdragzone
if ( !this.tree.dragZone || !this.tree.dragZone.isMultiSelect || this.tree.root.isSelected() ) {
this.onMouseDown(node, e);
this.onMouseUp(node, e);
}
},