mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +00:00
Fix attachments in web interface
Monotone-Parent: ab2ff65d5c716a5cd610c720b705af5e768a77c0 Monotone-Revision: aec0948f76228380cdf63ab082da3759f9d9da50 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-07-07T21:17:43 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -203,7 +203,7 @@ iRANGE(2);
|
||||
[categories release];
|
||||
[cycle release];
|
||||
[cycleEnd release];
|
||||
[url release];
|
||||
[attachUrl release];
|
||||
[attendeesNames release];
|
||||
[attendeesUIDs release];
|
||||
[attendeesEmails release];
|
||||
@@ -534,7 +534,7 @@ iRANGE(2);
|
||||
ASSIGN (title, [component summary]);
|
||||
ASSIGN (location, [component location]);
|
||||
ASSIGN (comment, [component comment]);
|
||||
ASSIGN (url, [[component url] absoluteString]);
|
||||
ASSIGN (attachUrl, [[component attach] absoluteString]);
|
||||
ASSIGN (privacy, [component accessClass]);
|
||||
ASSIGN (priority, [component priority]);
|
||||
ASSIGN (status, [component status]);
|
||||
@@ -617,14 +617,14 @@ iRANGE(2);
|
||||
return title;
|
||||
}
|
||||
|
||||
- (void) setUrl: (NSString *) _url
|
||||
- (void) setAttach: (NSString *) _attachUrl
|
||||
{
|
||||
ASSIGN (url, _url);
|
||||
ASSIGN (attachUrl, _attachUrl);
|
||||
}
|
||||
|
||||
- (NSString *) url
|
||||
- (NSString *) attach
|
||||
{
|
||||
return url;
|
||||
return attachUrl;
|
||||
}
|
||||
|
||||
- (NSString *) organizerName
|
||||
@@ -1407,7 +1407,7 @@ RANGE(2);
|
||||
|
||||
/* contact editor compatibility */
|
||||
|
||||
- (NSString *) urlButtonClasses
|
||||
/*- (NSString *) urlButtonClasses
|
||||
{
|
||||
NSString *classes;
|
||||
|
||||
@@ -1417,7 +1417,7 @@ RANGE(2);
|
||||
classes = @"button _disabled";
|
||||
|
||||
return classes;
|
||||
}
|
||||
}*/
|
||||
|
||||
- (void) _handleAttendeesEdition
|
||||
{
|
||||
@@ -1711,7 +1711,7 @@ RANGE(2);
|
||||
[component setSummary: title];
|
||||
[component setLocation: location];
|
||||
[component setComment: comment];
|
||||
[component setUrl: url];
|
||||
[component setAttach: attachUrl];
|
||||
[component setAccessClass: privacy];
|
||||
[component setCategories: [category capitalizedString]];
|
||||
[self _handleAttendeesEdition];
|
||||
|
||||
Reference in New Issue
Block a user