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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4ea7b79cdbb5f38d1c55569a1636798e08468556/calendarManager.js/clean/calendar/resources/content/calendarManager.js