rem: selectSelectedEvents( ); 
add: /* This no longer works since we moved to a tree */  var SearchTree = document.getElementById( "unifinder-search-results-listbox" );  SearchTree.setAttribute( "suppressonselect", "true" );  SearchTree.treeBoxObject.selection.select( -1 );  if( EventSelectionArray.length > 0 ) { for( i = 0; i < EventSelectionArray.length; i++ ) { var SearchTreeItem = document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id );  if( SearchTreeItem ) { var Index = SearchTree.contentView.getIndexOfItem( SearchTreeItem );  SearchTree.treeBoxObject.ensureRowIsVisible( Index );  SearchTree.treeBoxObject.selection.select( Index ); } } } /*SearchTree.clearSelection();  if( EventSelectionArray.length > 0 ) { for( i = 0; i < EventSelectionArray.length; i++ ) { var SearchTreeItem = document.getElementById( "search-unifinder-treeitem-"+EventSelectionArray[i].id );   if( SearchTreeItem ) SearchTree.addItemToSelection( SearchTreeItem ); } } dump( "\nAllow on select now!" ); SearchTree.removeAttribute( "suppressonselect" ); */ 
context: function calendarUnifinderInit( ){   var unifinderEventSelectionObserver =    {      onSelectionChanged : function( EventSelectionArray )      {         selectSelectedEvents( );      }   }         gCalendarWindow.EventSelection.addObserver( unifinderEventSelectionObserver );}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5d261082cfdf78e9abe5a109fca55443e889fab5/unifinder.js/buggy/calendar/resources/content/unifinder.js