зеркало из https://github.com/mozilla/pjs.git
don't store recurEnd if it's null
This commit is contained in:
Родитель
5f0c105816
Коммит
45d32db9bd
|
@ -450,7 +450,7 @@ calStorageCalendar.prototype = {
|
|||
|
||||
dump ("RINFO: " + item.recurrenceInfo + "\n");
|
||||
if (item.recurrenceInfo && item.recurrenceInfo.recurType != 0) {
|
||||
dump ("GETOCCURRENCESBETWEEN\n");
|
||||
dump ("GETOCCURRENCESBETWEEN " + aRangeStart.jsDate + " -> " + aRangeEnd.jsDate + "\n");
|
||||
iid = kCalIItemOccurrence;
|
||||
items = item.recurrenceInfo.getOccurrencesBetween (item, aRangeStart, aRangeEnd, {});
|
||||
dump ("items: " + items + "\n");
|
||||
|
@ -931,6 +931,7 @@ calStorageCalendar.prototype = {
|
|||
this.mInsertRecurrence.reset();
|
||||
|
||||
// also set the item recurrence end
|
||||
if (rec.recurEnd)
|
||||
ip.recur_end = rec.recurEnd.jsDate;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче