rem: if ( confirm( confirmDeleteEvent+" "+calendarEvent.title+"?" ) ) { gICalLib.deleteEvent( calendarEvent.id ); 
add: if ( calendarEvent.title != "" ) { if ( confirm( confirmDeleteEvent+" "+calendarEvent.title+"?" ) ) { gICalLib.deleteEvent( calendarEvent.id ); } } else { if ( confirm( confirmDeleteUntitledEvent ) ) { gICalLib.deleteEvent( calendarEvent.id ); } 
context: function unifinderRemoveCommand(){   var SelectedItem = document.getElementById( "unifinder-categories-tree" ).selectedItems[0];   if( SelectedItem )   {      if ( SelectedItem.getAttribute( "container" ) == "true" )       {         if ( confirm( "Are you sure you want to delete this category?" ) )          {            gCategoryManager.deleteCategory( SelectedItem.categoryobject );         }      }      else      {         if( gUnifinderSelection != null )         {            var calendarEvent = gICalLib.fetchEvent( gUnifinderSelection );                     if( calendarEvent != null )            {               if ( confirm( confirmDeleteEvent+" "+calendarEvent.title+"?" ) ) {                  gICalLib.deleteEvent( calendarEvent.id );               }            }         }      }   }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0da3c8b8ae984d784842a226cf2267101c956c43/unifinder.js/clean/calendar/resources/content/unifinder/unifinder.js