mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-23 07:12:42 +00:00
Monotone-Parent: d63ac588bc9d6090e40d0640860dacaee66d0edb
Monotone-Revision: 20c7862f09b4fde6c2067b6fa562bc2dcd72ae78 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-12T20:04:42 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -6,6 +6,7 @@ var listFilter = 'view_today';
|
||||
|
||||
var listOfSelection = null;
|
||||
var selectedCalendarCell;
|
||||
var calendarColorIndex = null;
|
||||
|
||||
var showCompletedTasks = 0;
|
||||
|
||||
@@ -1459,9 +1460,12 @@ function appendCalendar(folderName, folderPath) {
|
||||
li.setAttribute("owner", owner);
|
||||
|
||||
// Generate new color
|
||||
if (calendarColorIndex == null)
|
||||
calendarColorIndex = lis.length;
|
||||
calendarColorIndex++;
|
||||
var colorTable = [1, 1, 1];
|
||||
var color;
|
||||
var currentValue = lis.length + 1;
|
||||
var currentValue = calendarColorIndex;
|
||||
var index = 0;
|
||||
while (currentValue) {
|
||||
if (currentValue & 1)
|
||||
|
||||
Reference in New Issue
Block a user