Web: Fixed missing To/Cc/Bcc fields in contacts view

Monotone-Parent: 084a7a5ec0ad85b0c967e9425da2b4b789029549
Monotone-Revision: f0935fff2414656359bd160c4d90eb3f0e9d8598

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-07-17T21:25:38
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2009-07-17 21:25:38 +00:00
parent e1ad72a534
commit b0dd991ef1
6 changed files with 38 additions and 21 deletions

View File

@ -1,3 +1,9 @@
2009-07-17 Francis Lachapelle <flachapelle@inverse.ca>
* UI/Contacts/UIxContactFoldersView.m ([UIxContactFoldersView
-mailerContactsAction]): restored method lost with
UIxContactsListViewContainer.
2009-07-17 Cyril Robert <crobert@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m

View File

@ -29,6 +29,7 @@
@interface UIxContactFoldersView : UIxComponent
{
NSUserDefaults *ud;
NSString *selectorComponentClass;
NSMutableDictionary *moduleSettings;
id currentFolder;
}

View File

@ -74,9 +74,35 @@
[ud setObject: moduleSettings forKey: module];
}
- (id <WOActionResults>) mailerContactsAction
{
selectorComponentClass = @"UIxContactsMailerSelection";
return self;
}
- (NSString *) selectorComponentClass
{
return selectorComponentClass;
}
- (WOElement *) selectorComponent
{
WOElement *newComponent;
newComponent = [self pageWithName: selectorComponentClass];
return newComponent;
}
- (BOOL) hasContactSelectionButtons
{
return (selectorComponentClass != nil);
}
- (void) _fillResults: (NSMutableDictionary *) results
inFolder: (id <SOGoContactFolder>) folder
withSearchOn: (NSString *) contact
inFolder: (id <SOGoContactFolder>) folder
withSearchOn: (NSString *) contact
{
NSEnumerator *folderResults;
NSDictionary *currentContact;

View File

@ -32,7 +32,6 @@
@interface UIxContactsListView : UIxComponent
{
NSDictionary *currentContact;
NSString *selectorComponentClass;
NSArray *contactInfos;
}

View File

@ -34,11 +34,8 @@
- (id) init
{
if ((self = [super init]))
{
selectorComponentClass = nil;
contactInfos = nil;
}
contactInfos = nil;
return self;
}
@ -60,18 +57,6 @@
return currentContact;
}
- (id <WOActionResults>) mailerContactsAction
{
selectorComponentClass = @"UIxContactsMailerSelection";
return self;
}
- (NSString *) selectorComponentClass
{
return selectorComponentClass;
}
- (NSString *) defaultSortKey
{
return @"c_cn";

View File

@ -21,7 +21,7 @@
mailer-contacts = {
protectedBy = "View";
pageName = "UIxContactFoldersView";
actionName = "selectForMailer";
actionName = "mailerContacts";
};
contactSearch = {
protectedBy = "<public>";