rem:   updateAlarm(); 
context: function onLoad(){    var args = window.arguments[0];    window.onAcceptCallback = args.onOk;    window.calendarItem = args.calendarEvent;    window.mode = args.mode;    window.recurrenceInfo = null;    if (window.calendarItem.calendar && window.calendarItem.calendar.readOnly) {        gReadOnlyMode = true;    }    /* add calendars to the calendar menulist */    var calendarList = document.getElementById("item-calendar");    var calendars = getCalendarManager().getCalendars({});    for (i in calendars) {        var calendar = calendars[i];        var menuitem = calendarList.appendItem(calendar.name, i);        menuitem.calendar = calendar;    }    loadDialog(window.calendarItem);    // figure out what the title of the dialog should be and set it    updateTitle();    // hide rows based on if this is an event or todo    updateStyle();    // update the accept button    updateAccept();    // update datetime pickers    updateDuedate();    // update datetime pickers    updateAllDay();    // update recurrence button    updateRecurrence();    // update alarm checkbox/label/settings button    updateAlarm();    // update our size!    window.sizeToContent();    document.getElementById("item-title").focus();    opener.setCursor("auto");    self.focus();}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/d390326285590fc6a6d028fbad77eb0e13e066b8/calendar-event-dialog.js/buggy/calendar/base/content/calendar-event-dialog.js