зеркало из https://github.com/mozilla/pjs.git
fixing description text setting
This commit is contained in:
Родитель
40a0ef4b71
Коммит
b22402a2a8
|
@ -402,7 +402,10 @@ DayView.prototype.createEventBox = function(itemOccurrence)
|
|||
else
|
||||
eventTitleLabel.setAttribute( "value", calEvent.title );
|
||||
|
||||
var eventText = document.createTextNode( calEvent.description );
|
||||
var desc = calEvent.getProperty("description");
|
||||
if (!desc)
|
||||
desc = ""
|
||||
var eventText = document.createTextNode(desc);
|
||||
var eventDescription = document.createElement( "description" );
|
||||
eventDescription.setAttribute( "class", "day-view-event-description-class" );
|
||||
eventDescription.appendChild( eventText );
|
||||
|
|
Загрузка…
Ссылка в новой задаче