Monotone-Parent: c7cffd8dde105fd1e43ad66af119ae46d931617a

Monotone-Revision: 21cd67b802d7be6973e4f0cf16a68dfb3497f3a5

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-08-21T14:47:26
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-08-21 14:47:26 +00:00
parent c3f0060583
commit e7a99ed0eb
2 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
2007-08-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MailerUI/UIxMailAccountActions.m ([UIxMailAccountActions
-composeAction]): the address fields should be arrays and not
simple strings.
* UI/Common/UIxPageFrame.m ([UIxPageFrame -buildDate]): new method
that returns the build date of SOGo in the template.

View File

@@ -123,15 +123,17 @@
{
SOGoDraftsFolder *drafts;
SOGoDraftObject *newDraftMessage;
NSString *urlBase, *url;
NSString *mailTo;
NSString *urlBase, *url, *value;
NSArray *mailTo;
drafts = [[self clientObject] draftsFolderInContext: context];
newDraftMessage = [drafts newDraft];
mailTo = [[self request] formValueForKey: @"mailto"];
if ([mailTo length] > 0)
value = [[self request] formValueForKey: @"mailto"];
if ([value length] > 0)
{
mailTo = [NSArray arrayWithObject: value];
[newDraftMessage setHeaders: [NSDictionary dictionaryWithObject: mailTo
forKey: @"to"]];
[newDraftMessage storeInfo];