Returning false in 'onBeforeSelect' event will discard the selection on a node. Please try this code.
$('#tt').tree({
onBeforeSelect: function(node){
var selected = $(this).tree('getSelected');
if (selected && selected.target == node.target){
return false;
}
}
})