Fix "important" class for tasks.

Monotone-Parent: e0f43f161cdd0540f469674383aa9262b20548e2
Monotone-Revision: ff3fffcc9ac3e9e2308ab3a16a89bf67f67cb5d2

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-01-25T20:45:45
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2010-01-25 20:45:45 +00:00
parent a28c353d75
commit 743c4af3ed
1 changed files with 2 additions and 2 deletions

View File

@ -772,8 +772,8 @@ 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");
if (parseInt(data[i][8]) == 1) {
listItem.addClassName("important");
}
listItem.appendChild(input);
input.observe("click", updateTaskStatus, true);