rem: function refreshToDoTree( eventArray ) 
add: function refreshToDoTree( taskArray ) 
context: function refreshToDoTree( eventArray ){   if( eventArray === false )      eventArray = getTaskTable();   // get the old tree children item and remove it      var tree = document.getElementById( ToDoUnifinderTreeName );   var elementsToRemove = document.getElementsByAttribute( "taskitem", "true" );         for( var i = 0; i < elementsToRemove.length; i++ )   {      elementsToRemove[i].parentNode.removeChild( elementsToRemove[i] );   }   // add: tree item, row, cell, box and text items for every event   for( var index = 0; index < eventArray.length; ++index )   {      var calendarToDo = eventArray[ index ];            // make the items            var treeItem = document.createElement( "treeitem" );            setUnifinderToDoTreeItem( treeItem, calendarToDo );      tree.getElementsByTagName( "treechildren" )[0]. appendChild( treeItem );   }  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d17e41996863006957f43648b6d55e5d9f2c5d6c/unifinderToDo.js/clean/calendar/resources/content/unifinderToDo.js