rem: if( ListBox.selectedItems.length > 0 && ListBox.selectedItems.length < 2 ) 
add: if( ListBox.selectedItems.length == 1 ) 
context: function unifinderClickEvent( CallingListBox ){   var ListBox = CallingListBox;   dump( "\non unifinder click event" );   var ArrayOfEvents = new Array();      for( i = 0; i < ListBox.selectedItems.length; i++ )   {      var calendarEvent = ListBox.selectedItems[i].event;                  ArrayOfEvents[ ArrayOfEvents.length ] = calendarEvent;   }      gCalendarWindow.EventSelection.setArrayToSelection( ArrayOfEvents );   if( ListBox.selectedItems.length > 0 && ListBox.selectedItems.length < 2 )   {      var eventBox = gCalendarWindow.currentView.getVisibleEvent( calendarEvent );      if ( !eventBox )      {         var eventStartDate = new Date( calendarEvent.start.getTime() );                  gCalendarWindow.currentView.goToDay( eventStartDate, true);               }   } }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f4887fc66453b044bcc66560a8b6f0d672f8c337/unifinder.js/buggy/calendar/resources/content/unifinder.js