mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-30 10:47:17 +00:00
Monotone-Parent: 6ff7f1f265054d35bee90648f1c1b1ae73749a9e
Monotone-Revision: d8bc80bdd59d6e91fe82607634aa33721dc30547 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-02-02T20:48:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
{
|
||||
if ((self = [super init]))
|
||||
{
|
||||
snapshot = [[NSMutableDictionary alloc] initWithCapacity:16];
|
||||
snapshot = [[NSMutableDictionary alloc] initWithCapacity: 16];
|
||||
preferredEmail = nil;
|
||||
}
|
||||
|
||||
@@ -330,6 +330,8 @@
|
||||
to: [self _simpleValueForType: @"work" inArray: elements]];
|
||||
[self _setSnapshotValue: @"homeURL"
|
||||
to: [self _simpleValueForType: @"home" inArray: elements]];
|
||||
[self _setSnapshotValue: @"calFBURL"
|
||||
to: [[card uniqueChildWithTag: @"FBURL"] value: 0]];
|
||||
|
||||
[self _setSnapshotValue: @"title" to: [card title]];
|
||||
[self _setupOrgFields];
|
||||
@@ -338,10 +340,10 @@
|
||||
[self _setSnapshotValue: @"tz" to: [card tz]];
|
||||
[self _setSnapshotValue: @"note" to: [card note]];
|
||||
|
||||
[self _retrieveQueryParameter: @"contactEmail"
|
||||
intoSnapshotValue: @"workMail"];
|
||||
[self _retrieveQueryParameter: @"contactFN"
|
||||
intoSnapshotValue: @"fn"];
|
||||
[self _retrieveQueryParameter: @"contactEmail"
|
||||
intoSnapshotValue: @"workMail"];
|
||||
[self _retrieveQueryParameter: @"contactFN"
|
||||
intoSnapshotValue: @"fn"];
|
||||
}
|
||||
|
||||
- (id <WOActionResults>) defaultAction
|
||||
@@ -455,6 +457,10 @@
|
||||
[element setValue: 5 to: [snapshot objectForKey: @"workPostalCode"]];
|
||||
[element setValue: 6 to: [snapshot objectForKey: @"workCountry"]];
|
||||
|
||||
element = [CardElement simpleElementWithTag: @"fburl"
|
||||
value: [snapshot objectForKey: @"calFBURL"]];
|
||||
[card setUniqueChild: element];
|
||||
|
||||
[self _savePhoneValues];
|
||||
[self _saveEmails];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user