rem:   CalendarManager.removeCalendar( ThisCalendarObject ); 
context:    var onResponse = function( CalendarData )   {      //save the stream to a file.      saveDataToFile( ThisCalendarObject.getAttribute( "http://home.netscape.com/NC-rdf#path" ), CalendarData, "UTF-8" );            if( onResponseExtra )         onResponseExtra();      //else      //{         CalendarManager.removeCalendar( ThisCalendarObject );               if( ThisCalendarObject.getAttribute( "http://home.netscape.com/NC-rdf#active" ) == "true" )         {            CalendarManager.addCalendar( ThisCalendarObject );         }                  refreshEventTree( getAndSetEventTable() );                  refreshToDoTree( false );                  CalendarManager.CalendarWindow.currentView.refreshEvents();      //}      document.getElementById( ThisCalendarObject.getSubject() ).childNodes[1].childNodes[0].removeAttribute( "synching" );   }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d31b4f3cf149677fb636f1f69391b8e89fee5202/calendarManager.js/buggy/calendar/resources/content/calendarManager.js