mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-30 18:42:44 +00:00
Monotone-Parent: 029f7af5879a2c5f2514bdae82805853dc8624b0
Monotone-Revision: 36c59ea6f5d3705bff60a615e113d6b9e7a7501e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-26T01:15:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1054,6 +1054,7 @@ function appendCalendar(folderName, folder) {
|
||||
checkBox.type = "checkbox";
|
||||
checkBox.addEventListener("change", updateCalendarStatus, false);
|
||||
li.appendChild(checkBox);
|
||||
li.appendChild(document.createTextNode(" "));
|
||||
var colorBox = document.createElement("div");
|
||||
colorBox.appendChild(document.createTextNode("OO"));
|
||||
colorBox.addClassName("colorBox");
|
||||
@@ -1068,6 +1069,10 @@ function appendCalendar(folderName, folder) {
|
||||
|
||||
var contactId = folder.split(":")[0];
|
||||
var styles = document.getElementsByTagName("style");
|
||||
|
||||
var url = URLForFolderID(folder) + "/canAccessContent";
|
||||
triggerAjaxRequest(url, calendarEntryCallback, folder);
|
||||
|
||||
styles[0].innerHTML += ('.ownerIs' + contactId + ' {'
|
||||
+ ' background-color: '
|
||||
+ color
|
||||
|
||||
Reference in New Issue
Block a user