mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-25 11:54:17 +00:00
Mantis 1489+1987: ! pour taches.haute
Monotone-Parent: b9fd73f3b424b6987ed02034e0b3b5c7329ef75c Monotone-Revision: 597cc6629d42a3546ef1401377719202b214f02f Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-07-31T19:48:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -664,7 +664,7 @@ function tasksListCallback(http) {
|
||||
var cname = escape(data[i][0]);
|
||||
listItem.setAttribute("id", calendar + "-" + cname);
|
||||
//listItem.addClassName(data[i][5]); // Classification
|
||||
listItem.addClassName(data[i][7]);
|
||||
listItem.addClassName(data[i][8]);
|
||||
listItem.calendar = calendar;
|
||||
listItem.addClassName("calendarFolder" + calendar);
|
||||
listItem.cname = cname;
|
||||
@@ -672,6 +672,9 @@ function tasksListCallback(http) {
|
||||
input.setAttribute("type", "checkbox");
|
||||
if (parseInt(data[i][6]) == 0)
|
||||
input.setAttribute ("disabled", true);
|
||||
if (parseInt(data[i][7]) == 1) {
|
||||
listItem.addClassName ("important");
|
||||
}
|
||||
listItem.appendChild(input);
|
||||
input.observe("click", updateTaskStatus, true);
|
||||
input.setAttribute("value", "1");
|
||||
@@ -679,7 +682,10 @@ function tasksListCallback(http) {
|
||||
input.setAttribute("checked", "checked");
|
||||
$(input).addClassName("checkBox");
|
||||
|
||||
listItem.appendChild(document.createTextNode(data[i][3]));
|
||||
var t = new Element ("span");
|
||||
t.update (data[i][3]);
|
||||
//listItem.appendChild(document.createTextNode(data[i][3]));
|
||||
listItem.appendChild (t);
|
||||
}
|
||||
|
||||
list.scrollTop = list.previousScroll;
|
||||
|
||||
Reference in New Issue
Block a user