mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 03:15:25 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
@interface UIxContactFoldersView : UIxComponent
|
||||
{
|
||||
NSUserDefaults *ud;
|
||||
NSString *selectorComponentClass;
|
||||
NSMutableDictionary *moduleSettings;
|
||||
id currentFolder;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
@interface UIxContactsListView : UIxComponent
|
||||
{
|
||||
NSDictionary *currentContact;
|
||||
NSString *selectorComponentClass;
|
||||
NSArray *contactInfos;
|
||||
}
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
mailer-contacts = {
|
||||
protectedBy = "View";
|
||||
pageName = "UIxContactFoldersView";
|
||||
actionName = "selectForMailer";
|
||||
actionName = "mailerContacts";
|
||||
};
|
||||
contactSearch = {
|
||||
protectedBy = "<public>";
|
||||
|
||||
Reference in New Issue
Block a user