mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-27 07:49:29 +00:00
Monotone-Parent: a8d6eb0ca6fa812a331b038a4ecdf6505a002412
Monotone-Revision: 052f9de55b5ccfe5944c8d715ee190708be0140e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-09-29T18:12:00 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -366,6 +366,11 @@
|
||||
return @"edit";
|
||||
}
|
||||
|
||||
- (NSString *) contactUID
|
||||
{
|
||||
return [[self clientObject] nameInContainer];
|
||||
}
|
||||
|
||||
- (CardElement *) _elementWithTag: (NSString *) tag
|
||||
ofType: (NSString *) type
|
||||
{
|
||||
@@ -468,7 +473,8 @@
|
||||
{
|
||||
[self _saveSnapshot];
|
||||
[contact save];
|
||||
result = self;
|
||||
|
||||
result = [self redirectToLocation: @".."];
|
||||
}
|
||||
else
|
||||
result = [NSException exceptionWithHTTPStatus: 400 /* Bad Request */
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="buttons">
|
||||
<input
|
||||
type="submit"
|
||||
@@ -364,6 +363,6 @@
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
initEditorForm();
|
||||
initEditorForm('<var:string value="contactUID" />');
|
||||
</script>
|
||||
</var:component>
|
||||
|
||||
Reference in New Issue
Block a user