rem: if( tree.selectedItems.length == 1 ) { 
add: if( tree.selectedItems.length == 1 ) { 
context: function OnClick(event, node){    if( event.type == "click" &&        ( event.button != 0 || event.detail != 2 || node.nodeName != "treeitem") )      return(false);    if( event.type == "keypress" && event.keyCode != 13 )      return(false);    var tree = document.getElementById("tree");    if( tree.selectedItems.length == 1 )       {        var selectedItem = tree.selectedItems[0];        var theID = selectedItem.getAttribute("id");	window._content.location.href = theID;        // set window title        var theWindow = window._content.parentWindow;        if (theWindow)            theWindow.title = theID;      }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/9210ca7dab5783a909f9322b5b7d6fb60236cb90/directory.js/clean/suite/common/directory/directory.js