rem: SearchTree.setAttribute( "suppressonselect", "true" );  SearchTree.treeBoxObject.selection.select( -1 ); 
add: 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 ); 
context: function calendarUnifinderInit( ){   var unifinderEventSelectionObserver =    {      onSelectionChanged : function( EventSelectionArray )      {         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 );               }            }         }      }   }         gCalendarWindow.EventSelection.addObserver( unifinderEventSelectionObserver );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/98fd6bd396dd9a291fe9162f118287fe0f6d12fe/unifinder.js/buggy/calendar/resources/content/unifinder.js