Monotone-Parent: d5a35d507386b7213ff2f2e4f5f37c9c22f0c2ae

Monotone-Revision: a11424d99fd81b4c47bf7609d4e4e9ec4e1b0ab2

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-05T18:07:08
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-06-05 18:07:08 +00:00
parent b71c015193
commit 031779e4e9
3 changed files with 34 additions and 38 deletions

View File

@@ -172,22 +172,21 @@ function closeInvitationWindow() {
}
function modifyEventCallback(http) {
if (http.readyState == 4) {
if (http.status == 200) {
log("closing window...?");
if (queryParameters["mail-invitation"] == "yes")
closeInvitationWindow();
else {
window.opener.setTimeout("refreshAppointmentsAndDisplay();", 100);
window.setTimeout("window.close();", 100);
if (http.readyState == 4) {
if (http.status == 200) {
if (queryParameters["mail-invitation"].toLowerCase() == "yes")
closeInvitationWindow();
else {
window.opener.setTimeout("refreshAppointmentsAndDisplay();", 100);
window.setTimeout("window.close();", 100);
}
}
}
else {
log("showing alert...");
window.alert(labels["eventPartStatModificationError"]);
}
document.modifyEventAjaxRequest = null;
}
else {
log("showing alert...");
window.alert(labels["eventPartStatModificationError"]);
}
document.modifyEventAjaxRequest = null;
}
}
function deleteEventCallback(http) {