From eaffce9b08d5de069a5cacdadef316a1d5cb9bd4 Mon Sep 17 00:00:00 2001 From: "mikep%oeone.com" Date: Fri, 16 Aug 2002 18:15:59 +0000 Subject: [PATCH] Fixing bug 159653., --- calendar/resources/content/calendarMail.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/calendar/resources/content/calendarMail.js b/calendar/resources/content/calendarMail.js index 665f8efff37f..3db8fc2da27d 100644 --- a/calendar/resources/content/calendarMail.js +++ b/calendar/resources/content/calendarMail.js @@ -183,8 +183,10 @@ function sendEvent() // lets open a composer with fields and body prefilled try { - if(Event.method == 0) - Event.method = Event.ICAL_METHOD_PUBLISH; + Event.alarm = false; + + if(Event.method == 0) + Event.method = Event.ICAL_METHOD_PUBLISH; saveCalendarObject(CalendarDataFilePath, Event.getIcalString()); nsIMsgAttachmentComponent = Components.classes["@mozilla.org/messengercompose/attachment;1"]; nsIMsgAttachment = nsIMsgAttachmentComponent.createInstance(Components.interfaces.nsIMsgAttachment);