rem: var calendar = getCalendar(); calendar.modifyItem (newItem, null); 
add: var ccalendar = getDisplayComposite(); ccalendar.modifyItem(newItem, null); 
context: function contextChangePriority( event, Priority ){   var tree = document.getElementById( ToDoUnifinderTreeName );   if (tree.view.selection.count > 0)   {      var todoItem = tree.taskView.getCalendarTaskAtRow( tree.currentIndex );      if(todoItem)      {          var newItem = todoItem.clone().QueryInterface(Components.interfaces.calITodo);          newItem.priority = Priority;          var calendar = getCalendar();          calendar.modifyItem (newItem, null);      }   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a326c1b96258e9a489ef580945ed55053d063126/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js