forked from extern/egroupware
Fix save does not close category popup
This commit is contained in:
parent
34f8da55c3
commit
f9b34a4c56
@ -162,17 +162,17 @@ class admin_categories
|
||||
{
|
||||
$content['id'] = $cats->add($content);
|
||||
$msg = lang('Category saved.');
|
||||
if ($button == 'save')
|
||||
{
|
||||
egw_framework::refresh_opener($msg, 'admin', $content['id']);
|
||||
egw_framework::window_close();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$msg = lang('Permission denied!');
|
||||
unset($button);
|
||||
}
|
||||
if ($button == 'save')
|
||||
{
|
||||
egw_framework::refresh_opener($msg, 'admin', $content['id']);
|
||||
egw_framework::window_close();
|
||||
}
|
||||
break;
|
||||
|
||||
case 'delete':
|
||||
|
Loading…
Reference in New Issue
Block a user