Need to update opener before closing the window, or it won't work...

This commit is contained in:
Nathan Gray 2013-12-10 22:38:36 +00:00
parent b9f39dd315
commit 4f46394b71

View File

@ -161,11 +161,12 @@ class admin_categories
!$content['parent'] && self::$acl_add))
{
$content['id'] = $cats->add($content);
$msg = lang('Category saved.');
if ($button == 'save')
{
egw_framework::refresh_opener($msg, 'admin', $content['id']);
egw_framework::window_close();
}
$msg = lang('Category saved.');
}
else
{