rem:  var eventTable = gEventSource.getCurrentEvents();  refreshEventTree( eventTable ); 
add: refreshEventTree( false ); 
context: function onResponseAndRefresh( ){   //save the stream to a file.   saveDataToFile( calendarToGet.path, request.responseText, "UTF-8" );      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/f6463a60e7134b5a8637531c92f1cbc7586a12b9/calendarManager.js/buggy/calendar/resources/content/calendarManager.js