From b14c7532effb167348f9a34778c5fb28b93a6a33 Mon Sep 17 00:00:00 2001 From: "mattwillis%gmail.com" Date: Mon, 29 Jan 2007 19:56:08 +0000 Subject: [PATCH] bug 368490: Fix indenting level so ics import recognizes exceptions of recurring events. r1=lilmatt, r2=mvl --- calendar/base/src/calIcsParser.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/calendar/base/src/calIcsParser.js b/calendar/base/src/calIcsParser.js index 78d0b38259b..49ac24a89f1 100644 --- a/calendar/base/src/calIcsParser.js +++ b/calendar/base/src/calIcsParser.js @@ -128,15 +128,14 @@ function ip_parseString(aICSString) { unexpandedItems.push(item); if (item.recurrenceInfo) { uid2parent[item.id] = item; - } else { - item.calendar = this; - // force no recurrence info: - item.recurrenceInfo = null; - excItems.push(item); } + } else { + item.calendar = this; + // force no recurrence info: + item.recurrenceInfo = null; + excItems.push(item); } } - subComp = calComp.getNextSubcomponent("ANY"); } calComp = rootComp.getNextSubcomponent("VCALENDAR");