rem: if (!gDetailsShown || !isToDo(window.calendarItem) || alarmType == "none") { 
add: if (!isToDo(window.calendarItem) || alarmType == "none") { 
context: function updateTaskAlarmWarnings() {    document.getElementById("alarm-start-warning").setAttribute("hidden", true);    document.getElementById("alarm-end-warning").setAttribute("hidden", true);    var alarmType = getElementValue("item-alarm");    if (!gDetailsShown || !isToDo(window.calendarItem) || alarmType == "none") {        return true;    }    var hasEntryDate = getElementValue("todo-has-entrydate", "checked");    var hasDueDate = getElementValue("todo-has-duedate", "checked");    var alarmRelated = document.getElementById("alarm-trigger-relation").selectedItem.value;    if ((alarmType != "custom" || alarmRelated == "START") && !hasEntryDate) {        document.getElementById("alarm-start-warning").removeAttribute("hidden");        return false;    }    if (alarmRelated == "END" && !hasDueDate) {        document.getElementById("alarm-end-warning").removeAttribute("hidden");        return false;    }    return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4339364d97fa56704e5d2da0b10e2c7509a89e1a/calendar-event-dialog.js/clean/calendar/base/content/calendar-event-dialog.js