rem: var server = getSelectedCalendarPathOrNull(); 
add: var calendar = getSelectedCalendarOrNull(); 
context: function newToDo ( startDate, dueDate ) {    var calendarToDo = createToDo();       // created todo has no start or due date unless user wants one    if (startDate)         calendarToDo.entryTime.jsDate = startDate;    if (dueDate)        calendarToDo.dueDate.jsDate = dueDate;    var server = getSelectedCalendarPathOrNull();        editNewToDo(calendarToDo, server);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f892c29c0d507cd27262778be93792bf15b08d04/calendar.js/clean/calendar/resources/content/calendar.js