зеркало из https://github.com/mozilla/pjs.git
Fixing problem with long descriptions being cut off, OEone bug 4948.
This commit is contained in:
Родитель
1fdf60d476
Коммит
9a35a14298
|
@ -960,7 +960,11 @@ function getPreviewTextForRepeatingEvent( calendarEventDisplay )
|
|||
if (calendarEventDisplay.event.description)
|
||||
{
|
||||
var DescriptionHtml = document.createElement( "description" );
|
||||
var DescriptionText = document.createTextNode( "Description: "+calendarEventDisplay.event.description );
|
||||
var Description = calendarEventDisplay.event.description;
|
||||
if( Description.length > 53 )
|
||||
Description = Description.substr( 0, 50 )+"...";
|
||||
|
||||
var DescriptionText = document.createTextNode( "Description: "+Description );
|
||||
DescriptionHtml.appendChild( DescriptionText );
|
||||
HolderBox.appendChild( DescriptionHtml );
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче