rem: var calendarToDo = createToDo();   calendarToDo.start.setTime( k_NO_DATE ); calendarToDo.due.setTime( k_NO_DATE );  var args = new Object(); args.mode = "new"; args.onOk =  self.addToDoDialogResponse; args.calendarEvent = calendarToDo;  window.setCursor( "wait" );  openDialog("chrome: 
add: newToDo( null, null ); 
context: function newToDoCommand(){    var calendarToDo = createToDo();    // created todo has no start or due date unless user wants one    calendarToDo.start.setTime( k_NO_DATE );    calendarToDo.due.setTime( k_NO_DATE );    var args = new Object();    args.mode = "new";    args.onOk =  self.addToDoDialogResponse;    args.calendarEvent = calendarToDo;    window.setCursor( "wait" );    // open the dialog modally    openDialog("chrome://calendar/content/toDoDialog.xul", "caEditEvent", "chrome,modal", args );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f9eff44e20d7f7d75376ca69300eed0bf5e589fb/calendar.js/clean/calendar/resources/content/calendar.js