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.sogomaint-2.0.2
parent
e1ad72a534
commit
b0dd991ef1
|
@ -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>
|
2009-07-17 Cyril Robert <crobert@inverse.ca>
|
||||||
|
|
||||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
@interface UIxContactFoldersView : UIxComponent
|
@interface UIxContactFoldersView : UIxComponent
|
||||||
{
|
{
|
||||||
NSUserDefaults *ud;
|
NSUserDefaults *ud;
|
||||||
|
NSString *selectorComponentClass;
|
||||||
NSMutableDictionary *moduleSettings;
|
NSMutableDictionary *moduleSettings;
|
||||||
id currentFolder;
|
id currentFolder;
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,9 +74,35 @@
|
||||||
[ud setObject: moduleSettings forKey: module];
|
[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
|
- (void) _fillResults: (NSMutableDictionary *) results
|
||||||
inFolder: (id <SOGoContactFolder>) folder
|
inFolder: (id <SOGoContactFolder>) folder
|
||||||
withSearchOn: (NSString *) contact
|
withSearchOn: (NSString *) contact
|
||||||
{
|
{
|
||||||
NSEnumerator *folderResults;
|
NSEnumerator *folderResults;
|
||||||
NSDictionary *currentContact;
|
NSDictionary *currentContact;
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
@interface UIxContactsListView : UIxComponent
|
@interface UIxContactsListView : UIxComponent
|
||||||
{
|
{
|
||||||
NSDictionary *currentContact;
|
NSDictionary *currentContact;
|
||||||
NSString *selectorComponentClass;
|
|
||||||
NSArray *contactInfos;
|
NSArray *contactInfos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,11 +34,8 @@
|
||||||
- (id) init
|
- (id) init
|
||||||
{
|
{
|
||||||
if ((self = [super init]))
|
if ((self = [super init]))
|
||||||
{
|
contactInfos = nil;
|
||||||
selectorComponentClass = nil;
|
|
||||||
contactInfos = nil;
|
|
||||||
}
|
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,18 +57,6 @@
|
||||||
return currentContact;
|
return currentContact;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id <WOActionResults>) mailerContactsAction
|
|
||||||
{
|
|
||||||
selectorComponentClass = @"UIxContactsMailerSelection";
|
|
||||||
|
|
||||||
return self;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSString *) selectorComponentClass
|
|
||||||
{
|
|
||||||
return selectorComponentClass;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (NSString *) defaultSortKey
|
- (NSString *) defaultSortKey
|
||||||
{
|
{
|
||||||
return @"c_cn";
|
return @"c_cn";
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
mailer-contacts = {
|
mailer-contacts = {
|
||||||
protectedBy = "View";
|
protectedBy = "View";
|
||||||
pageName = "UIxContactFoldersView";
|
pageName = "UIxContactFoldersView";
|
||||||
actionName = "selectForMailer";
|
actionName = "mailerContacts";
|
||||||
};
|
};
|
||||||
contactSearch = {
|
contactSearch = {
|
||||||
protectedBy = "<public>";
|
protectedBy = "<public>";
|
||||||
|
|
Loading…
Reference in New Issue