rem: doTransaction('modify', newItem, newItem.calendar, todoItem, null); 
add: doTransaction('modify', newItem, newItem.calendar, toDoItem, null); 
context: function contextChangePriority( event, Priority ){   var tree = document.getElementById( ToDoUnifinderTreeName );   var start = new Object();   var end = new Object();   var numRanges = tree.view.selection.getRangeCount();   var toDoItem;   if(numRanges == 0)      return;   startBatchTransaction();   for (var t = 0; t < numRanges; t++) {      tree.view.selection.getRangeAt(t, start, end);      for (v = start.value; v <= end.value; v++) {          todoItem = tree.taskView.getCalendarTaskAtRow( v );          var newItem = todoItem.clone().QueryInterface( Components.interfaces.calITodo );          newItem.priority = Priority;          doTransaction('modify', newItem, newItem.calendar, todoItem, null);      }   }   endBatchTransaction();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/28f6b9f9c9ced9cfa755f978e503169317454227/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js