rem: return( false ); 
add:  var calManager = getCalendarManager(); try { var newCalendar = calManager.createCalendar(oldCalendar.name, "ics", icsURL); } catch (ex) { dump(ex); return false; }  var getListener = { onOperationComplete: function(aCalendar, aStatus, aOperationType, aId, aDetail) {  calManager.deleteCalendar(newCalendar); } };  appendCalendars(newCalendar, [oldCalendar], getListener); 
context: function publishEntireCalendarDialogResponse( CalendarPublishObject ){   //update the calendar object with the publish information   var name = gCalendarWindow.calendarManager.getSelectedCalendarId();      //get the node   var node = gCalendarWindow.calendarManager.rdf.getNode( name );      node.setAttribute( "http://home.netscape.com/NC-rdf#remotePath", CalendarPublishObject.remotePath );       if( node.getAttribute("http://home.netscape.com/NC-rdf#publishAutomatically") != "true" )        node.setAttribute("http://home.netscape.com/NC-rdf#publishAutomatically", "false");   gCalendarWindow.calendarManager.rdf.flush();         calendarUploadFile(node.getAttribute( "http://home.netscape.com/NC-rdf#path" ),                       CalendarPublishObject.remotePath,                       "text/calendar");   return( false );}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/229acd7e9dccb59ca30ef35088f7b9e85a4ca3d5/calendar.js/clean/calendar/resources/content/calendar.js