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:02:09 +00:00
parent 89bd82725d
commit 3e8b02d50a

View File

@ -1910,7 +1910,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