rem: var startCheckBox = document.getElementById( "start-checkbox" ); var dueCheckBox = document.getElementById( "due-checkbox" ); if (startCheckBox.checked && dueCheckBox.checked) { var CheckDueDate = checkDueDate(); 
add: var dateComparison = compareIgnoringTimeOfDay(gEndDate, gStartDate); 
context: function checkSetTimeDate(){  var startCheckBox = document.getElementById( "start-checkbox" );  var dueCheckBox = document.getElementById( "due-checkbox" );  if (startCheckBox.checked && dueCheckBox.checked)  {    var CheckDueDate = checkDueDate();    if ( CheckDueDate < 0 )    {      // due before start      setDateError(true);      setTimeError(false);      return false;    }    else if ( CheckDueDate == 0 )    {      setDateError(false);      // start & due same      var CheckDueTime = checkDueTime();      setTimeError(CheckDueTime);      return !CheckDueTime;    }  }  setDateError(false);  setTimeError(false);  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7cf8f4a5a133269c8abdbc4d7ed791799ba534d2/eventDialog.js/clean/calendar/resources/content/eventDialog.js