add: endBatchTransaction(); 
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;          doTransaction('modify', newItem, newItem.calendar, todoItem, null);      }   }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3b80878fe98770c4df3e8fafefa6e2997da51ce1/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js