Bug 1285877 - Retain compatibility for iterator changes. r=MakeMyDay
MozReview-Commit-ID: FBjDXUfhzKj --HG-- extra : rebase_source : c46831f929dd5d3c7764e3ba21944fa1c2756906
This commit is contained in:
Родитель
b59f7809e7
Коммит
52bd9b068c
|
@ -15,7 +15,6 @@ CuImport("resource://gre/modules/PromiseUtils.jsm", this);
|
|||
CuImport("resource://gre/modules/Task.jsm", this);
|
||||
|
||||
CuImport("resource://calendar/modules/calUtils.jsm", this);
|
||||
CuImport("resource://calendar/modules/calIteratorUtils.jsm", this);
|
||||
CuImport("resource://calendar/modules/calProviderUtils.jsm", this);
|
||||
|
||||
var cIE = Components.interfaces.calIErrors;
|
||||
|
@ -586,7 +585,9 @@ function setupRecurrence(aItem, aRecurrence, aTimezone) {
|
|||
}
|
||||
|
||||
let hasRecurringRules = false;
|
||||
for (let prop of cal.ical.propertyIterator(rootComp)) {
|
||||
for (let prop = rootComp.getFirstProperty("ANY");
|
||||
prop;
|
||||
prop = rootComp.getNextProperty("ANY")) {
|
||||
switch (prop.propertyName) {
|
||||
case "RDATE":
|
||||
case "EXDATE":
|
||||
|
|
Загрузка…
Ссылка в новой задаче