Monotone-Parent: 629c2dca3a0b44cbcdea7cfee80dec01b2841d80
Monotone-Revision: 6ba5493c91f538701d638d36d00899eaa08ff21f Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-08-23T22:10:01 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
7eff40373f
commit
bb86546829
|
@ -174,21 +174,22 @@ function closeInvitationWindow() {
|
|||
}
|
||||
|
||||
function modifyEventCallback(http) {
|
||||
if (http.readyState == 4) {
|
||||
if (http.status == 200) {
|
||||
if (queryParameters["mail-invitation"].toLowerCase() == "yes")
|
||||
closeInvitationWindow();
|
||||
else {
|
||||
window.opener.setTimeout("refreshEventsAndDisplay();", 100);
|
||||
window.setTimeout("window.close();", 100);
|
||||
}
|
||||
}
|
||||
if (http.readyState == 4) {
|
||||
if (http.status == 200) {
|
||||
var mailInvitation = queryParameters["mail-invitation"];
|
||||
if (mailInvitation && mailInvitation.toLowerCase() == "yes")
|
||||
closeInvitationWindow();
|
||||
else {
|
||||
// log("showing alert...");
|
||||
window.alert(labels["eventPartStatModificationError"]);
|
||||
window.opener.setTimeout("refreshEventsAndDisplay();", 100);
|
||||
window.setTimeout("window.close();", 100);
|
||||
}
|
||||
document.modifyEventAjaxRequest = null;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// log("showing alert...");
|
||||
window.alert(labels["eventPartStatModificationError"]);
|
||||
}
|
||||
document.modifyEventAjaxRequest = null;
|
||||
}
|
||||
}
|
||||
|
||||
function deleteEventCallback(http) {
|
||||
|
|
Loading…
Reference in New Issue