rem: if (startCheckbox && dueCheckBox) { var CheckDueDate = checkDueDate(); if ( CheckDueDate < 0 ) { 
add: if (startCheckbox && dueCheckbox) { var startDate = getElementValue("start-datetime"); var dueDate = getElementValue("due-datetime"); var dateComparison = compareIgnoringTimeOfDay(dueDate, startDate); if ( dateComparison < 0 ) { 
context: function checkDueSetTimeDate(){    var startCheckbox = getElementValue("start-checkbox", "checked");    var dueCheckbox   = getElementValue("due-checkbox", "checked");    if (startCheckbox && dueCheckBox) {        var CheckDueDate = checkDueDate();        if ( CheckDueDate < 0 ) {            // due before start            setDueDateError(true);            setDueTimeError(false);            return false;        } else if ( CheckDueDate == 0 ) {            setDueDateError(false);            // start & due same            var CheckDueTime = checkDueTime();            setDueTimeError(CheckDueTime);            return !CheckDueTime;        }    }    setDueDateError(false);    setDueTimeError(false);    return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f3842dc8e96d03e3421e8a80b6e80bb159ddeac3/eventDialog.js/buggy/calendar/resources/content/eventDialog.js