shift & ctrl ignored
Status: Beta
Brought to you by:
tommurphy27
In e.onclick inside attachClickListener(), line 465, you are passing hard-coded 'false' values for the ctrl and shift parameters to setSelection():
t.setSelection( div, false, false );
This should be
t.setSelection(div, event.ctrlKey, event.shiftKey);
Then, to make the selections actually work as expected, at the top of this.setSelection(), line 541, insert the following:
if ( !shift && !ctrl )
{
this.toggleSelectedNodes( false );
this.selection = [];
}
Logged In: YES
user_id=833483
Originator: NO
Correct, except you must also add 'event = event || window.event;' immediately before the call to 't.setSelection'.