diff --git a/UI/Contacts/UIxContactEditor.m b/UI/Contacts/UIxContactEditor.m index 76ea1b709..1efa8b096 100644 --- a/UI/Contacts/UIxContactEditor.m +++ b/UI/Contacts/UIxContactEditor.m @@ -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 */ diff --git a/UI/Templates/ContactsUI/UIxContactEditor.wox b/UI/Templates/ContactsUI/UIxContactEditor.wox index 5d46965c3..fd0bc099d 100644 --- a/UI/Templates/ContactsUI/UIxContactEditor.wox +++ b/UI/Templates/ContactsUI/UIxContactEditor.wox @@ -339,7 +339,6 @@ -