rem: gCalendarWindow.calendarManager.deleteCalendar( calendarObjectToDelete );  
add: if(buttonPressed == 0) { gCalendarWindow.calendarManager.deleteCalendar( calendarObjectToDelete, false ); } else if(buttonPressed == 2) { gCalendarWindow.calendarManager.deleteCalendar( calendarObjectToDelete, true ); } else if(buttonPressed == 1) { return false; }  
context: function deleteCalendar( ){   var IdToDelete = gCalendarWindow.calendarManager.getSelectedCalendarId()      var calendarObjectToDelete = gCalendarWindow.calendarManager.rdf.getNode( IdToDelete );   gCalendarWindow.calendarManager.deleteCalendar( calendarObjectToDelete );   refreshEventTree( getAndSetEventTable() );   refreshToDoTree( false );   gCalendarWindow.currentView.refreshEvents();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/aa07388c8f9522be65159dcbe2d06c0792265ee0/calendarManager.js/buggy/calendar/resources/content/calendarManager.js