зеркало из https://github.com/mozilla/pjs.git
bug 342568 - removes 'today' attribute when reusing day boxes in week view. r=jminta
This commit is contained in:
Родитель
29df6cabc7
Коммит
8248ad0a71
|
@ -2370,6 +2370,7 @@
|
|||
var dayEventsBox;
|
||||
if (counter < dayboxkids.length) {
|
||||
dayEventsBox = dayboxkids[counter];
|
||||
dayEventsBox.removeAttribute("today");
|
||||
dayEventsBox.mEvents = new Array();
|
||||
} else {
|
||||
dayEventsBox = createXULElement("calendar-event-column");
|
||||
|
@ -2381,6 +2382,7 @@
|
|||
var dayHeaderBox;
|
||||
if (counter < headerboxkids.length) {
|
||||
dayHeaderBox = headerboxkids[counter];
|
||||
dayHeaderBox.removeAttribute("today");
|
||||
for each (item in dayHeaderBox.mItemBoxes) {
|
||||
dayHeaderBox.deleteEvent(item.occurrence);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче