From 743c4af3ed7c760f86549f54d44a284068aafe1d Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 25 Jan 2010 20:45:45 +0000 Subject: [PATCH] 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 --- UI/WebServerResources/SchedulerUI.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/WebServerResources/SchedulerUI.js b/UI/WebServerResources/SchedulerUI.js index a4741f382..de5c79131 100644 --- a/UI/WebServerResources/SchedulerUI.js +++ b/UI/WebServerResources/SchedulerUI.js @@ -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);