Bug Bug 349960 All day events should be at top on month view event lists. Patch by Markus Adrario <MarkusAdrario@web.de>, r=jminta

git-svn-id: svn://10.0.0.236/trunk@220037 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jminta%gmail.com
2007-02-13 02:57:43 +00:00
parent d864938399
commit bca5f61b3b

View File

@@ -392,6 +392,10 @@
}
if (aIsEvent && bIsEvent) {
// sort all day events before events with a duration
if (a.item.startDate.isDate && !b.item.startDate.isDate) return -1;
if (!a.item.startDate.isDate && b.item.startDate.isDate) return 1;
var cmp;
cmp = a.item.startDate.compare(b.item.startDate);