Bug 336048 Undefined property warning in calStorageCalendar.getItems, r=mvl

This commit is contained in:
jminta%gmail.com 2006-07-04 06:04:07 +00:00
Родитель 0baefefafc
Коммит b414a271c3
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -691,8 +691,10 @@ calStorageCalendar.prototype = {
while (this.mSelectEventsWithRecurrence.step()) {
var row = this.mSelectEventsWithRecurrence.row;
// did we already deal with this event id?
if (handledRecurringEvents[row.id] == true)
if (row.id in handledRecurringEvents &&
handledRecurringEvents[row.id] == true) {
continue;
}
var flags = {};
var item = this.getEventFromRow(row, flags);