зеркало из https://github.com/mozilla/gecko-dev.git
Bug 336048 Undefined property warning in calStorageCalendar.getItems, r=mvl
This commit is contained in:
Родитель
0baefefafc
Коммит
b414a271c3
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче