Checked in patch for bug 248619

git-svn-id: svn://10.0.0.236/trunk@158650 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mostafah%oeone.com
2004-07-01 17:23:12 +00:00
parent 3ca33d1ae9
commit 085a4998f8

View File

@@ -496,7 +496,7 @@ function compareIgnoringTimeOfDay(dateA, dateB)
{
if (dateA.getFullYear() == dateB.getFullYear() &&
dateA.getMonth() == dateB.getMonth() &&
dateA.getDay() == dateB.getDay() ) {
dateA.getDate() == dateB.getDate() ) {
return 0;
} else if (dateA < dateB) {
return -1;
@@ -677,6 +677,9 @@ function commandAllDay()
} else {
gEndDate.setDate( gEndDate.getDate() - 1 );
}
// update the duration
gDuration = gEndDate.getTime() - gStartDate.getTime();
updateStartEndItemEnabled();
updateOKButton();
}