rem: this.getAllCalendars();  for( var i = 0; i < this.calendars.length; i++ ) 
add: CalendarDirectory.append( "Calendar" );  /* make sure the calendar directory exists, create it if it doesn't */ if( !CalendarDirectory.exists() ) 
context: function calendarManager( CalendarWindow ){   this.nextCalendarNumber = 1;   this.CalendarWindow = CalendarWindow;   this.calendars = new Array();   this.getAllCalendars();   for( var i = 0; i < this.calendars.length; i++ )   {      this.addCalendarToListBox( this.calendars[i] );   }   //if the calendars are being used, add them.   this.addActiveCalendars();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarManager.js/buggy/calendar/resources/content/calendarManager.js