rem: if (tree.selectedIndex >= 0 && tree.selectedItems.length > 0) 
add: if (tree.treeBoxObject.selection.count > 0) 
context: function RemoveSelectedTreelistItem(tree){  if (tree)  {    if (tree.selectedIndex >= 0 &&        tree.selectedItems.length > 0)    {      // Get the node to delete      var treeItem = tree.selectedItems[0];      if (treeItem)      {        tree.cleaclearSelection        var parent = treeItem.parentNode;        if (parent)        {          parent.removeChild(treeItem);          tree.setAttribute("length", parent.childNodes.length);        }      }    }  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/07d96867f11683becf5e1a6ca5e64e6a9324c957/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js