forked from extern/egroupware
Need to update opener before closing the window, or it won't work...
This commit is contained in:
@ -161,11 +161,12 @@ class admin_categories
|
|||||||
!$content['parent'] && self::$acl_add))
|
!$content['parent'] && self::$acl_add))
|
||||||
{
|
{
|
||||||
$content['id'] = $cats->add($content);
|
$content['id'] = $cats->add($content);
|
||||||
|
$msg = lang('Category saved.');
|
||||||
if ($button == 'save')
|
if ($button == 'save')
|
||||||
{
|
{
|
||||||
|
egw_framework::refresh_opener($msg, 'admin', $content['id']);
|
||||||
egw_framework::window_close();
|
egw_framework::window_close();
|
||||||
}
|
}
|
||||||
$msg = lang('Category saved.');
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user