rem: addEventsToCalendar( calendarEventArray, true ); 
add: doAddEventsToCalendar( calendarEventArray, true, null ); 
context: function doWizardImport(){   var calendarEventArray;   var fileName = document.getElementById( "import-path-textbox" ).value;   var aDataStream = readDataFromFile( fileName, "UTF-8" );   if( fileName.indexOf( ".ics" ) == -1 )   {      calendarEventArray = parseIcalData( aDataStream );      }   else if( fileName.indexOf( ".xcs" ) == -1 )   {      calendarEventArray = parseXCSData( aDataStream );   }           if( document.getElementById( "import-2-radiogroup" ).selectedItem.value == "silent" )   {      addEventsToCalendar( calendarEventArray, true );   }   else   {      addEventsToCalendar( calendarEventArray, true );   }      return( false ); //true will close the window}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a6427525226ee2ce13236c703a07aac6c0df0b62/wizard.js/clean/calendar/resources/content/wizard.js