After editing a contact, refresh the whole list (edit) instead of just updating the one contact.

This commit is contained in:
Nathan Gray 2015-07-28 15:01:03 +00:00
parent 1ee1a934f8
commit c3f2fa4602

View File

@ -1928,7 +1928,7 @@ window.egw_LAB.wait(function() {
{ {
egw_link::link('addressbook',$content['id'],$links); egw_link::link('addressbook',$content['id'],$links);
} }
egw_framework::refresh_opener($content['msg'], 'addressbook', $content['id'], $content['id'] ? 'update' : 'add', egw_framework::refresh_opener($content['msg'], 'addressbook', $content['id'], $content['id'] ? 'edit' : 'add',
null, null, null, $this->error ? 'error' : 'success'); null, null, null, $this->error ? 'error' : 'success');
// re-throw redirect exception, if there's no error // re-throw redirect exception, if there's no error