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:
Wolfgang Sourdeau
2006-09-29 18:12:00 +00:00
parent 363a16fe03
commit 49f320e49f
2 changed files with 8 additions and 3 deletions

View File

@@ -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 */

View File

@@ -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>