mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-03 02:25:25 +00:00
Monotone-Parent: 763d338306598097969b19cbf1bd5dd68ab512c5
Monotone-Revision: 9c1103e3fa60cbe6c71eaa79d9f0db84cd663935 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-08-10T19:08:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1399,16 +1399,15 @@ function onShowCompletedTasks(event) {
|
||||
}
|
||||
|
||||
function updateTaskStatus(event) {
|
||||
var taskId = this.parentNode.getAttribute("id");
|
||||
var newStatus = (this.checked ? 1 : 0);
|
||||
var http = createHTTPClient();
|
||||
|
||||
if (isSafari() && !isSafari3()) {
|
||||
newStatus = (newStatus ? 0 : 1);
|
||||
}
|
||||
|
||||
|
||||
url = (ApplicationBaseURL + this.parentNode.calendar
|
||||
+ "/" + taskId + "/changeStatus?status=" + newStatus);
|
||||
+ "/" + this.parentNode.cname + "/changeStatus?status=" + newStatus);
|
||||
|
||||
if (http) {
|
||||
// TODO: add parameter to signal that we are only interested in OK
|
||||
|
||||
Reference in New Issue
Block a user