From 6cff191f799b821a734806cea86eb70f434df487 Mon Sep 17 00:00:00 2001 From: wolfgang Date: Tue, 20 Nov 2007 17:06:58 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1271 d1b88da0-ebda-0310-925b-ed51d893ca5b --- ChangeLog | 6 ++++++ .../Appointments/SOGoAppointmentObject.m | 5 ++++- UI/Templates/MailerUI/UIxMailEditor.wox | 2 +- UI/WebServerResources/MailerUI.js | 14 +++++++------- UI/WebServerResources/UIxAttendeesEditor.js | 2 +- UI/WebServerResources/UIxMailEditor.js | 19 +++++++++++++++++++ UI/WebServerResources/generic.css | 10 +++++++--- 7 files changed, 45 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index fc894963..1a4b1c0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-11-20 Wolfgang Sourdeau + + * SoObjects/Appointments/SOGoAppointmentObject.m: don't take an + empty c_name as a valid response when looking up an event. Create + one in that case instead. + 2007-11-19 Wolfgang Sourdeau * UI/PreferencesUI/UIxPreferences.m ([UIxPreferences -signature]): diff --git a/SoObjects/Appointments/SOGoAppointmentObject.m b/SoObjects/Appointments/SOGoAppointmentObject.m index dac2f254..b8814b8e 100644 --- a/SoObjects/Appointments/SOGoAppointmentObject.m +++ b/SoObjects/Appointments/SOGoAppointmentObject.m @@ -73,6 +73,8 @@ if ([object isKindOfClass: [NSException class]]) object = nil; } + else + object = nil; } if (!object) @@ -310,7 +312,8 @@ ex = [self saveContentString: newContent]; if (!(ex || [event userIsOrganizer: [context activeUser]])) { - if ([[attendee rsvp] isEqualToString: @"true"]) + if ([[attendee rsvp] isEqualToString: @"true"] + && [event isStillRelevant]) [self sendResponseToOrganizer]; organizerUID = [[event organizer] uid]; if (organizerUID) diff --git a/UI/Templates/MailerUI/UIxMailEditor.wox b/UI/Templates/MailerUI/UIxMailEditor.wox index 090e69f6..4609c7b9 100644 --- a/UI/Templates/MailerUI/UIxMailEditor.wox +++ b/UI/Templates/MailerUI/UIxMailEditor.wox @@ -54,7 +54,7 @@ />
-