context: function updateRepeatDetails() {    // Don't try to show the details text for anything but a custom recurrence    // rule. Also, we don't currently support tasks.    var item = window.calendarItem;    var recurrenceInfo = window.recurrenceInfo;    var itemRepeat = document.getElementById("item-repeat");    if (itemRepeat.value == "custom" && isEvent(item) && recurrenceInfo) {        var startDate = jsDateToDateTime(getElementValue("event-starttime"));        var endDate = jsDateToDateTime(getElementValue("event-endtime"));        var kDefaultTimezone = calendarDefaultTimezone();        startDate = startDate.getInTimezone(kDefaultTimezone);        endDate = endDate.getInTimezone(kDefaultTimezone);        var allDay = getElementValue("event-all-day", "checked");        commonUpdateRepeatDetails(recurrenceInfo,startDate,endDate,allDay);    } else {        var repeatDetails = document.getElementById("repeat-details");        repeatDetails.setAttribute("collapsed", "true");    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/9d1428d8c69f934660c4623c06f109ff3d558f8b/sun-calendar-event-dialog.js/clean/calendar/prototypes/wcap/sun-calendar-event-dialog.js