mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-17 20:45:56 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user