mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-24 14:29:28 +00:00
Monotone-Parent: 7badfbd8d1cd3b2ebe83f81b973b4ebf210af8a2
Monotone-Revision: e93263338b262449e660e63e963ca0e8fdc1ecb4 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-11-19T19:17:44 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -980,7 +980,7 @@ function _loadTasksHref(href) {
|
||||
document.tasksListAjaxRequest.aborted = true;
|
||||
document.tasksListAjaxRequest.abort();
|
||||
}
|
||||
url = ApplicationBaseURL + "/" + href;
|
||||
url = ApplicationBaseURL + href;
|
||||
|
||||
var tasksList = $("tasksList");
|
||||
var selectedIds;
|
||||
@@ -1215,7 +1215,7 @@ function updateTaskStatus(event) {
|
||||
newStatus = (newStatus ? 0 : 1);
|
||||
}
|
||||
|
||||
url = (ApplicationBaseURL + "/" + this.parentNode.calendar
|
||||
url = (ApplicationBaseURL + this.parentNode.calendar
|
||||
+ "/" + taskId + "/changeStatus?status=" + newStatus);
|
||||
|
||||
if (http) {
|
||||
@@ -1223,7 +1223,7 @@ function updateTaskStatus(event) {
|
||||
http.open("POST", url, false /* not async */);
|
||||
http.url = url;
|
||||
http.send("");
|
||||
if (http.status == 200)
|
||||
if (isHttpStatus204(http.status))
|
||||
refreshTasks();
|
||||
} else
|
||||
log ("no http client?");
|
||||
|
||||
Reference in New Issue
Block a user