rem: if(event.button == 2) treechildren.setAttribute("context", "taskitem-context-menu")  
context: function unifinderMouseDownToDo( event ){   var tree = document.getElementById( ToDoUnifinderTreeName );   var treechildren = tree.getElementsByTagName( "treechildren" )[0];   var ThisToDo = getToDoFromEvent( event );   if( ThisToDo )    {      if(event.button == 2)         treechildren.setAttribute("context", "taskitem-context-menu")      // TODO HACK notifiers should be rewritten to integrate events and todos      document.getElementById( "delete_todo_command" ).removeAttribute( "disabled" );      document.getElementById( "print_command" ).setAttribute( "disabled", "true" );   } else   {      if(event.button == 2)          treechildren.setAttribute("context", "context-menu");      tree.view.selection.clearSelection();      // TODO HACK notifiers should be rewritten to integrate events and todos      document.getElementById( "delete_todo_command" ).setAttribute( "disabled", "true" );      //  printing tasks not supported      document.getElementById( "print_command" ).setAttribute( "disabled", "true" );   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/41a93646b98f2dbcf1247d65196f2f99336c4204/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js