add: document.getElementById("alarm-details").setAttribute("hidden", true); 
context: function updateAlarm(){    var alarmMenu = document.getElementById("item-alarm");    var alarmItem = alarmMenu.selectedItem;    var alarmItemValue = alarmItem.getAttribute("value");    switch (alarmItemValue) {    case "custom":        /* restore old values if they're around */        setAlarmFields(alarmItem);                document.getElementById("alarm-details").removeAttribute("hidden");        break;    default:        document.getElementById("alarm-details").setAttribute("hidden", true);        var customItem = document.getElementById("alarm-custom-menuitem");        if (prevAlarmItem == customItem) {            customItem.setAttribute("length", getElementValue("alarm-length-field"));            customItem.setAttribute("unit", getElementValue("alarm-length-units"));            customItem.setAttribute("relation", getElementValue("alarm-trigger-relation"));        }        setAlarmFields(alarmItem);        break;    }    prevAlarmItem = alarmItem;    updateAccept();    this.sizeToContent();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/38fbf9dc9c4923313d3e4eef099d4e140f73dca5/calendar-event-dialog.js/buggy/calendar/base/content/calendar-event-dialog.js