Monotone-Parent: 1ccd34fd9ea99e675935d745db7e70d19716428a

Monotone-Revision: c40151185171e3ba8a257569b8ab5ec86930d393

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-05-05T14:40:53
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2010-05-05 14:40:53 +00:00
parent f7799b9cf8
commit 2bf4b7cf8b
42 changed files with 625 additions and 279 deletions

View File

@@ -6,6 +6,10 @@ var ComponentEditor = {
reminderWindow: null
};
function getOwnerLogin() {
return ownerLogin;
}
function onPopupAttendeesWindow(event) {
if (event)
preventDefault(event);
@@ -202,7 +206,7 @@ function onSummaryChange (e) {
function onReplyChange(event) {
var delegateEditor = $("delegateEditor");
if (this.value == 2) {
if (this.value == 4) {
// Delegated
delegateEditor.show();
$("delegatedTo").focus();
@@ -328,7 +332,11 @@ function onOkButtonClick (e) {
action = 'accept';
else if (value == 1)
action = 'decline';
else if (value == 2) {
else if (value == 2)
action = 'needsaction';
else if (value == 3)
action = 'tentative';
else if (value == 4) {
var url = ApplicationBaseURL + activeCalendar + '/' + activeComponent;
document.modifyEventAjaxRequest = delegateInvitation(url, modifyEventCallback);
}