rem: getDisplayComposite().addCalendar(aCalendar); 
add: getCompositeCalendar().addCalendar(aCalendar); 
context:     onCalendarRegistered: function(aCalendar) {        // Enable new calendars by default        getDisplayComposite().addCalendar(aCalendar);        setCalendarManagerUI();        document.getElementById("new_command").removeAttribute("disabled");        document.getElementById("new_todo_command").removeAttribute("disabled");        if (aCalendar.canRefresh) {            var remoteCommand = document.getElementById("reload_remote_calendars");            remoteCommand.removeAttribute("disabled");        }    },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b6ed036d2d55fbfd325f5325a4e8f425762b43a/calendarManagement.js/buggy/calendar/resources/content/calendarManagement.js