rem: var TitleHtml = document.createElement( "description" ); var TitleText = document.createTextNode( "Title: "+calendarEventDisplay.event.title ); TitleHtml.appendChild( TitleText ); HolderBox.appendChild( TitleHtml ); 
add: if (calendarEventDisplay.event.title) { var TitleHtml = document.createElement( "description" ); var TitleText = document.createTextNode( "Title: "+calendarEventDisplay.event.title ); TitleHtml.appendChild( TitleText ); HolderBox.appendChild( TitleHtml ); } 
context: function getPreviewText( calendarEventDisplay ){	var HolderBox = document.createElement( "vbox" );   var TitleHtml = document.createElement( "description" );   var TitleText = document.createTextNode( "Title: "+calendarEventDisplay.event.title );   TitleHtml.appendChild( TitleText );   HolderBox.appendChild( TitleHtml );   var DateHtml = document.createElement( "description" );   var DateText = document.createTextNode( "Start: "+calendarEventDisplay.event.start.toString() );   DateHtml.appendChild( DateText );   HolderBox.appendChild( DateHtml );   /*TimeHtml = document.createElement( "description" );   TimeText = document.createTextNode( calendarEvent.start.toString() );   TimeHtml.appendChild( TimeText );   HolderBox.appendChild( TimeHtml );   */   var DescriptionHtml = document.createElement( "description" );   var DescriptionText = document.createTextNode( "Description: "+calendarEventDisplay.event.description );   DescriptionHtml.appendChild( DescriptionText );   HolderBox.appendChild( DescriptionHtml );   return ( HolderBox );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6058417c274b47d7ad88e8c189c4d839fbee3c2e/calendar.js/buggy/calendar/resources/content/calendar.js