rem: onResponseFunction();  
add: saveDataToFile( calendarToGet.path, request.responseText, "UTF-8" );  
context: function onResponseAndRefresh( ){   //save the stream to a file.   onResponseFunction();   gCalendarWindow.calendarManager.removeCalendar( calendarToGet );   gCalendarWindow.calendarManager.addCalendar( calendarToGet );   //refresh the views   var eventTable = gEventSource.getCurrentEvents();   refreshEventTree( eventTable );   gCalendarWindow.currentView.refreshEvents();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/76230b8ba83216b1bac07d22bc26bde87c054c74/calendarManager.js/clean/calendar/resources/content/calendarManager.js