Bug 1512331 - Don't access undefined untilDate on calIRecurrenceDate. r=philipp
rule can be a calIRecurrenceDate, which does not have untilDate.
This commit is contained in:
Родитель
699017ad8b
Коммит
8733049c56
|
@ -2741,7 +2741,7 @@ function updateRepeat(aSuppressDialogs, aItemRepeatCall) {
|
|||
let rrules = splitRecurrenceRules(window.recurrenceInfo);
|
||||
let rule = rrules[0][0];
|
||||
gUntilDate = null;
|
||||
if (!rule.isByCount && rule.isFinite) {
|
||||
if (!rule.isByCount && rule.isFinite && rule.untilDate) {
|
||||
gUntilDate = rule.untilDate.clone().getInTimezone(cal.dtz.defaultTimezone);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче