forked from extern/egroupware
Infolog: Put refresh_opener() calls back
It gives double updates, but people with no push server still get to see their changes.
This commit is contained in:
parent
25ba1cf6fb
commit
56dbbf406f
@ -1826,7 +1826,7 @@ class infolog_ui
|
||||
$GLOBALS['egw']->preferences->add('infolog','preferred_type',$content['info_type']);
|
||||
$GLOBALS['egw']->preferences->save_repository(false,'user',false);
|
||||
$content['msg'] = lang('InfoLog entry saved');
|
||||
Framework::message($content['msg']);
|
||||
Framework::refresh_opener($content['msg'],'infolog',$info_id,$operation);
|
||||
}
|
||||
$content['tabs'] = $active_tab;
|
||||
|
||||
@ -1881,12 +1881,12 @@ class infolog_ui
|
||||
);
|
||||
if (!($content['msg'] = $this->delete($info_id,$referer,'edit'))) return; // checks ACL first
|
||||
|
||||
Framework::message($content['msg']);
|
||||
Framework::refresh_opener($content['msg'],'infolog',$info_id,'delete');
|
||||
}
|
||||
// called again after delete confirmation dialog
|
||||
elseif ($button == 'deleted' && $content['msg'])
|
||||
{
|
||||
Framework::message($content['msg']);
|
||||
Framework::refresh_opener($content['msg'],'infolog',$info_id,'delete');
|
||||
}
|
||||
if ($button == 'save' || $button == 'cancel' || $button == 'delete' || $button == 'deleted')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user