rem: } else dump("not setting recurrenceInfo\n"); 
add: } 
context: function saveDialog(event){    event.title = getElementValue("event-title");    event.startDate = jsDateToDateTime(getElementValue("event-starttime"));    event.endDate = jsDateToDateTime(getElementValue("event-endtime"));    event.isAllDay = getElementValue("event-all-day", "checked");    setEventProperty(event, "LOCATION",    getElementValue("event-location"));    setEventProperty(event, "URL",         getElementValue("event-url"));    setEventProperty(event, "DESCRIPTION", getElementValue("event-description"));    /* attendence */    event.removeAllAttendees();    var attendees = getElementValue("event-attendees");    if (attendees != "") {        for each (var addr in attendees.split(",")) {            var attendee = createAttendee();            attendee.id = "mailto:" + addr;            event.addAttendee(attendee);        }    }    /* recurrence */    if (getElementValue("event-recurrence", "checked")) {        if (window.recurrenceInfo) {            dump("setting recurrenceInfo!\n");            event.recurrenceInfo = window.recurrenceInfo;        } else            dump("not setting recurrenceInfo\n");    } else {        event.recurrenceInfo = null;    }    /* alarms */    event.hasAlarm = (getElementValue("event-alarm") != "none");    if (!event.hasAlarm) {        event.deleteProperty("alarmLength");        event.deleteProperty("alarmUnits");        event.deleteProperty("alarmRelated");        event.alarmTime = null;    } else {        var alarmLength = getElementValue("alarm-length-field");        var alarmUnits = document.getElementById("alarm-length-units").selectedItem.value;        var alarmRelated = document.getElementById("alarm-trigger-relation").selectedItem.value;        event.setProperty("alarmLength",  alarmLength);        event.setProperty("alarmUnits",   alarmUnits);        event.setProperty("alarmRelated", alarmRelated);        var alarmTime = null;        if (alarmRelated == "START") {            alarmTime = event.startDate.clone();        } else if (alarmRelated == "END") {            alarmTime = event.endDate.clone();        }        switch (alarmUnits) {        case "minutes":            alarmTime.minute -= alarmLength;            break;        case "hours":            alarmTime.hour -= alarmLength;            break;        case "days":            alarmTime.day -= alarmLength;            break;        }        alarmTime.normalize();        event.alarmTime = alarmTime;    }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/97f14603cfc50f1fbf4a64e407f2859954cf5b63/calendar-event-dialog.js/buggy/calendar/base/content/calendar-event-dialog.js