From bd692d45c60a7f154d2f81ac967a3745a5aa4fca Mon Sep 17 00:00:00 2001 From: "jminta%gmail.com" Date: Tue, 11 Oct 2005 19:52:39 +0000 Subject: [PATCH] Bug 312078 Sort event list by column 'End' fails. r=mvl --- calendar/resources/content/unifinder.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar/resources/content/unifinder.js b/calendar/resources/content/unifinder.js index 5e758609692..f8797ac56b2 100644 --- a/calendar/resources/content/unifinder.js +++ b/calendar/resources/content/unifinder.js @@ -548,6 +548,8 @@ function msNextOrPreviousRecurrenceStart( calendarEvent ) { } function msNextOrPreviousRecurrenceEnd(event) { + return event.endDate.nativeTime; + //XXX reimplement the following var msNextStart = msNextOrPreviousRecurrenceStart(event); var msDuration=dateToMilliseconds(event.endDate)-dateToMilliseconds(event.startDate); return msNextStart + msDuration;