rem: if(completed) { newTodo.completedDate = jsDateToDateTime(new Date()); newTodo.percentComplete = 100; } else { newTodo.completedDate = null; if (newTodo.percentComplete == 100) newTodo.percentComplete = 0; } 
add: newTodo.isCompleted = completed; 
context: function checkboxClick(thisTodo, completed){    var newTodo = thisTodo.clone().QueryInterface(Components.interfaces.calITodo);    if(completed) {        newTodo.completedDate = jsDateToDateTime(new Date());        newTodo.percentComplete = 100;    } else {        newTodo.completedDate = null;        if (newTodo.percentComplete == 100)            newTodo.percentComplete = 0;    }       doTransaction('modify', newTodo, newTodo.calendar, thisTodo, null);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/92df6d61be616252886ac16cadf4ad98b15849f6/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js