зеркало из https://github.com/mozilla/pjs.git
partial fix for all day events. bug 278425. patch by jt@nerant.org. r=pavlov
This commit is contained in:
Родитель
cd2b6f3cbf
Коммит
df3cac5915
|
@ -68,6 +68,7 @@ calEvent.prototype = {
|
|||
this.cloneItemBaseInto(m);
|
||||
m.mStartDate = this.mStartDate.clone();
|
||||
m.mEndDate = this.mEndDate.clone();
|
||||
m.isAllDay = this.isAllDay;
|
||||
|
||||
return m;
|
||||
},
|
||||
|
|
|
@ -287,7 +287,7 @@ MonthView.prototype.createEventBox = function(itemOccurrence)
|
|||
eventBoxText.setAttribute("crop", "end");
|
||||
eventBoxText.setAttribute("class", "month-day-event-text-class");
|
||||
|
||||
if (itemOccurrence.isAllDay) {
|
||||
if (calEvent.isAllDay) {
|
||||
eventBox.setAttribute("allday", "true");
|
||||
eventBoxText.setAttribute("value", itemOccurrence.title );
|
||||
// Create an image
|
||||
|
|
Загрузка…
Ссылка в новой задаче