rem: dump("processAlarmType: no alarmMenu.selectedItem!\n"); 
add: dump("processAlarmType: ERROR! No alarmMenu.selectedItem!\n"); 
context: function processAlarmType(){    var alarmMenu = document.getElementById("alarm-type");    if( alarmMenu.selectedItem ) {        debug("processAlarmType: " + alarmMenu.selectedItem.value );        switch( alarmMenu.selectedItem.value ) {        case "none":            disableElement("alarm-length-field");            disableElement("alarm-length-units");            disableElement("alarm-email-field-label");            disableElement("alarm-email-field");            break;        //case "popupAndSound":        case "popup":            enableElement("alarm-length-field");            enableElement("alarm-length-units");            disableElement("alarm-email-field-label");            disableElement("alarm-email-field");            break;        case "email":            enableElement("alarm-length-field");            enableElement("alarm-length-units");            enableElement("alarm-email-field-label");            enableElement("alarm-email-field");            break;        }    } else        dump("processAlarmType: no alarmMenu.selectedItem!\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/cc16beece2ec24c8045da6cb5d801616852dd68f/eventDialog.js/clean/calendar/resources/content/eventDialog.js