rem: var eventBox = gCalendarWindow.currentView.getVisibleEvent( calendarEvent ); 
add: eventBox = gCalendarWindow.currentView.getVisibleEvent( calendarEvent ); 
context: function unifinderClickEvent( id, event ){   gUnifinderSelection = id;      var calendarEvent = gICalLib.fetchEvent( id );      var eventBox = gCalendarWindow.currentView.getVisibleEvent( calendarEvent );      if ( eventBox )   {      //the event box exists, so the event is visible.      gCalendarWindow.currentView.clickEventBox( eventBox, event );   }   else //else we go to the day   {      gCalendarWindow.currentView.clearSelectedDate( );      gCalendarWindow.setSelectedEvent( calendarEvent );      var eventStartDate = new Date( calendarEvent.start.getTime() );      gCalendarWindow.currentView.goToDay( eventStartDate, true);            var eventBox = gCalendarWindow.currentView.getVisibleEvent( calendarEvent );         gCalendarWindow.currentView.clickEventBox( eventBox, event );         }   }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b72933d1d976d2848bb9e90a0acf6e5aeebd2451/unifinder.js/clean/calendar/resources/content/unifinder/unifinder.js