rem: var SelectedItem = document.getElementById( "unifinder-search-results-tree" ).selectedItems[0]; 
add: var SelectedItem = document.getElementById( "unifinder-search-results-listbox" ).selectedItems[0]; 
context: function unifinderEditCommand(){   var SelectedItem = document.getElementById( "unifinder-search-results-tree" ).selectedItems[0];   if( SelectedItem )   {      if( SelectedItem.getAttribute( "container" ) == "true" )      {          launchEditCategoryDialog( SelectedItem.categoryobject );      }      else      {         var calendarEvent = gCalendarWindow.EventSelection.selectedEvents[0];         if( calendarEvent != null )         {            editEvent( calendarEvent );         }        }   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cb4001c666f91beb526cdc96ef86d6d27e121e07/unifinder.js/clean/calendar/resources/content/unifinder.js