add:  for each (date in window.removedExceptions) { recurrenceInfo.restoreOccurrenceAt(date); }  
context: function saveDialog(){    var deckNumber = Number(getElementValue("period-list"));        var recurrenceInfo = createRecurrenceInfo();    recurrenceInfo.item = window.calendarEvent;    var recRule = new calRecurrenceRule();    switch (deckNumber) {    case 0:        recRule.type = "DAILY";        var ndays = Number(getElementValue("daily-days"));        if (ndays == "")            ndays = 1;        recRule.interval = ndays;        break;    case 1:        recRule.type = "WEEKLY";        recRule.interval = 1; // XXX we need to support every 2 weeks and so on..        var onDays = [];        ["sun", "mon", "tue", "wed", "thu", "fri", "sat"].            forEach(function(d)                    {                        var elem = document.getElementById("weekly-" + d);                         if (elem.checked) {                            onDays.push(elem.getAttribute("value"));                        }                    });        if (onDays.length > 0)            recRule.setComponent("BYDAY", onDays.length, onDays);        break;    case 2:        recRule.type = "MONTHLY";        break;    case 3:        recRule.type = "YEARLY";        var nyears = Number(getElementValue("yearly-years"));        if (nyears == "")            nyears = 1;        recRule.interval = nyears;        break;    }    /* figure out how long this event is supposed to last */    switch(document.getElementById("recurrence-duration").selectedItem.value) {    case "forever":        recRule.count = -1;        break;    case "ntimes":        recRule.count = Math.max(1, getElementValue("repeat-ntimes-count"));        break;    case "until":        recRule.endDate = jsDateToDateTime(getElementValue("repeat-until-date"));        break;    }    recurrenceInfo.appendRecurrenceItem(recRule);    return recurrenceInfo;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/39aa62b270d72f0b848c92da68df3a197b05153f/calendar-recurrence-dialog.js/clean/calendar/base/content/calendar-recurrence-dialog.js