Monotone-Parent: 93779224f1891bfde67faa42b4360c0b2ee910e3
Monotone-Revision: e1d773b231903817edb0d556fee132ccd592c4a4 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-03-18T18:33:10 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
0f8885a083
commit
e38eb48a6b
|
@ -171,7 +171,7 @@
|
|||
- (WOResponse *) _responseForResults: (NSArray *) results
|
||||
{
|
||||
WOResponse *response;
|
||||
NSString *email, *responseString;
|
||||
NSString *email, *responseString, *uid;
|
||||
NSDictionary *result;
|
||||
|
||||
response = [context response];
|
||||
|
@ -182,9 +182,11 @@
|
|||
if (!result)
|
||||
result = [results objectAtIndex: 0];
|
||||
email = [self _emailForResult: result];
|
||||
uid = [result objectForKey: @"c_uid"];
|
||||
if ([uid length] == 0)
|
||||
uid = @"";
|
||||
responseString = [NSString stringWithFormat: @"%@:%@",
|
||||
[result objectForKey: @"c_uid"],
|
||||
email];
|
||||
uid, email];
|
||||
[response setStatus: 200];
|
||||
[response setHeader: @"text/plain; charset=iso-8859-1"
|
||||
forKey: @"Content-Type"];
|
||||
|
|
|
@ -41,6 +41,14 @@ DIV#calendarsList
|
|||
padding: 0px;
|
||||
margin: 0px; }
|
||||
|
||||
SPAN.colorBox
|
||||
{ display: block;
|
||||
float: right;
|
||||
border: 1px solid #333;
|
||||
margin: .12em;
|
||||
width: 1em;
|
||||
height: .75em; }
|
||||
|
||||
UL#tasksList, UL#uixselector-calendarsList-display
|
||||
{ cursor: default;
|
||||
margin: .25px;
|
||||
|
|
|
@ -322,8 +322,10 @@ function onEditorOkClick(event) {
|
|||
var inputs = table.getElementsByTagName("input");
|
||||
for (var i = 0; i < inputs.length - 2; i++) {
|
||||
var name = inputs[i].uid;
|
||||
if (!(name && name.length > 0))
|
||||
if (!(name && name.length > 0)) {
|
||||
name = extractEmailName(inputs[i].value);
|
||||
log ("name: " + name);
|
||||
}
|
||||
var email = extractEmailAddress(inputs[i].value);
|
||||
var pos = attendeesEmails.indexOf(email);
|
||||
if (pos == -1)
|
||||
|
|
Loading…
Reference in New Issue