From 2be692263369c3e45f9285b168c8ae6c4a30046a Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 9 Oct 2012 09:12:39 -0400 Subject: [PATCH] Organizer email address clickable in event editor Fixes #2010 --- UI/Scheduler/UIxComponentEditor.m | 6 +++++- UI/Templates/SchedulerUI/UIxComponentEditor.wox | 9 ++++++--- UI/WebServerResources/UIxAppointmentEditor.css | 4 ---- UI/WebServerResources/UIxAppointmentEditor.js | 11 ++++++----- UI/WebServerResources/UIxComponentEditor.js | 1 - 5 files changed, 17 insertions(+), 14 deletions(-) diff --git a/UI/Scheduler/UIxComponentEditor.m b/UI/Scheduler/UIxComponentEditor.m index d79993de1..07212a019 100644 --- a/UI/Scheduler/UIxComponentEditor.m +++ b/UI/Scheduler/UIxComponentEditor.m @@ -768,7 +768,11 @@ iRANGE(2); - (NSString *) organizerName { - return [organizer mailAddress]; + NSDictionary *profile; + + profile = [[[self organizerProfile] allValues] lastObject]; + + return [profile objectForKey: @"name"]; } // - (BOOL) canBeOrganizer diff --git a/UI/Templates/SchedulerUI/UIxComponentEditor.wox b/UI/Templates/SchedulerUI/UIxComponentEditor.wox index ce1644c18..499fe986a 100644 --- a/UI/Templates/SchedulerUI/UIxComponentEditor.wox +++ b/UI/Templates/SchedulerUI/UIxComponentEditor.wox @@ -68,8 +68,9 @@ + />