From 08f90fa191b22f005c16c2b64af9c96cfd543969 Mon Sep 17 00:00:00 2001 From: helge Date: Sun, 15 Aug 2004 18:05:45 +0000 Subject: [PATCH] git-svn-id: http://svn.opengroupware.org/SOGo/trunk@231 d1b88da0-ebda-0310-925b-ed51d893ca5b --- SOGo/UI/Scheduler/ChangeLog | 3 ++ SOGo/UI/Scheduler/UIxAppointmentEditor.m | 52 ------------------------ SOGo/UI/Scheduler/Version | 2 +- 3 files changed, 4 insertions(+), 53 deletions(-) diff --git a/SOGo/UI/Scheduler/ChangeLog b/SOGo/UI/Scheduler/ChangeLog index 31a32af2..b9f02c9a 100644 --- a/SOGo/UI/Scheduler/ChangeLog +++ b/SOGo/UI/Scheduler/ChangeLog @@ -1,5 +1,8 @@ 2004-08-15 Helge Hess + * UIxAppointmentEditor.m: removed now unused methods (due to attendee + selector) (v0.9.45) + * v0.9.44 * UIxAppointmentEditor.m: use new AnaisAttendeeSelector diff --git a/SOGo/UI/Scheduler/UIxAppointmentEditor.m b/SOGo/UI/Scheduler/UIxAppointmentEditor.m index 93081f2f..767ec69a 100644 --- a/SOGo/UI/Scheduler/UIxAppointmentEditor.m +++ b/SOGo/UI/Scheduler/UIxAppointmentEditor.m @@ -171,44 +171,6 @@ return self->appointment; } -/* JavaScript */ - -- (NSString *)jsCode { - static NSString *script = \ - @"function addToTable(tableId, type, cn, dn, email, uid, sn) {\n" - @" var test = document.getElementById(email);" - @" if(test)" - @" return;" - @"" - @" var table = document.getElementById(tableId);" - @" var tr = document.createElement('tr');" - @" var td, checkbox, text;" - @"" - @" td = document.createElement('td');" - @" checkbox = document.createElement('input');" - @" checkbox.setAttribute('type', 'checkbox');" - @" checkbox.setAttribute('checked', 'checked');" - @" checkbox.setAttribute('value', email + ';' + cn);" - @" checkbox.setAttribute('id', email);" - @" checkbox.setAttribute('name', tableId);" - @" td.appendChild(checkbox);" - @" tr.appendChild(td);" - @" td = document.createElement('td');" - @" text = document.createTextNode(cn);" - @" td.appendChild(text);" - @" tr.appendChild(td);" - @" table.appendChild(tr);" - @"}\n" - @"function addParticipant(type, cn, dn, email, uid, sn) {\n" - @" addToTable('participants', type, cn, dn, email, uid, sn);\n" - @"}\n" - @"function addResource(type, cn, dn, email, uid, sn) {\n" - @" addToTable('resources', type, cn, dn, email, uid, sn);\n" - @"}\n" - @""; - return script; -} - /* helper */ - (NSString *)_completeURIForMethod:(NSString *)_method { @@ -233,20 +195,6 @@ return [self completeHrefForMethod:uri]; } -/* email, cn TODO: unused now?*/ - -- (NSString *)combinedCNAndEmailForUser { - return [NSString stringWithFormat:@"%@;%@", - [self emailForUser], - [self cnForUser]]; -} - -- (NSString *)combinedCNAndEmail { - return [NSString stringWithFormat:@"%@;%@", - [self->item rfc822Email], - [self->item cnForDisplay]]; -} - /* new */ - (id)newAction { diff --git a/SOGo/UI/Scheduler/Version b/SOGo/UI/Scheduler/Version index 24305041..49e5e3e5 100644 --- a/SOGo/UI/Scheduler/Version +++ b/SOGo/UI/Scheduler/Version @@ -1,6 +1,6 @@ # $Id$ -SUBMINOR_VERSION:=44 +SUBMINOR_VERSION:=45 # v0.9.41 requires libNGObjWeb v4.2.431 # v0.9.31 requires libWEExtensions v4.2.52 -- 2.39.5