rem: function addEventsToCalendar( calendarEventArray, silent, calendarPath ) 
add: function addEventsToCalendar(calendarEventArray, silent, calendar) 
context: function addEventsToCalendar( calendarEventArray, silent, calendarPath ){  if( ! calendarPath ) // null, "", or false  {    calendarPath = getSelectedCalendarPathOrDefault();  }  gICalLib.batchMode = true;  try  {     for(var i = 0; i < calendarEventArray.length; i++)    {      calendarEvent = calendarEventArray[i];      // Check if event with same ID already in Calendar. If so, import event with new ID.      if( gICalLib.fetchEvent( calendarEvent.id ) != null )      {        calendarEvent.id = createUniqueID( );      }      // the start time is in zulu time, need to convert to current time      if(calendarEvent.allDay != true)      {        convertZuluToLocalEvent( calendarEvent );      }      if( silent )      {        // LINAGORA (We need to see the new added event in the window and to update remote cal)        addEventDialogResponse( calendarEvent, calendarPath );        /* gICalLib.addEvent( calendarEvent, calendarPath ); */      }      else      {        // open the event dialog with the event to add, calls addEventDialogResponse on OK.        editNewEvent( calendarEvent, calendarPath );      }    }  }   finally  {    gICalLib.batchMode = false;  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/dedd00cfb3843c1c2af65dc4a07c90d01e809086/importExport.js/buggy/calendar/resources/content/importExport.js