Monotone-Parent: 682fa13875615480f8ed7c009317a6fd3050050b

Monotone-Revision: 1cad98827a66e18891a4b93bbab5ccce88c61795

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-06-12T14:58:15
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-06-12 14:58:15 +00:00
parent bae181672b
commit 59361b2b7f
4 changed files with 26 additions and 26 deletions

View File

@@ -1151,21 +1151,19 @@ function updateCalendarStatus(event) {
function calendarStatusCallback(http) {
if (http.readyState == 4) {
if (http.status == 204 ||
(isSafari() && typeof(http.status) == 'undefined') ||
http.status == 1223) {
if (isHttpStatus204(http.status)) {
refreshEvents();
refreshTasks();
changeCalendarDisplay();
}
else {
var folder = $(http.callbackData);
var input = folder.childNodesWithTag("input")[0];
input.checked = (!input.checked);
var folder = $(http.callbackData);
var input = folder.childNodesWithTag("input")[0];
input.checked = (!input.checked);
}
}
else
log("calendarStatusCallback Ajax error");
log("calendarStatusCallback Ajax error");
}
function calendarEntryCallback(http) {