From 99ef7e6a1b0aa29acb6aba6fb64ac0a12b4054b9 Mon Sep 17 00:00:00 2001 From: "dmose%mozilla.org" Date: Sat, 29 Oct 2005 20:32:51 +0000 Subject: [PATCH] Don't manually add VTIMEZONE bits into ICS calendars; this was triggering crashes (bug 305857); r=mvl --- calendar/providers/ics/calICSCalendar.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/calendar/providers/ics/calICSCalendar.js b/calendar/providers/ics/calICSCalendar.js index c6d9858d55ec..787bb6fd9dda 100644 --- a/calendar/providers/ics/calICSCalendar.js +++ b/calendar/providers/ics/calICSCalendar.js @@ -436,6 +436,13 @@ calICSCalendar.prototype = { todo.icalComponent = subComp; this.mMemoryCalendar.addItem(todo, null); break; + + case "VTIMEZONE": + // this should already be attached to the relevant + // events in the calendar, so there's no need to + // do anything with it here. + break; + default: this.unmappedComponents.push(subComp); dump(subComp.componentType+"\n");