mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Addressbook - fix missing add action on no rows after some actions
This commit is contained in:
parent
36a1d84c48
commit
257c1de4fe
@ -251,7 +251,6 @@ class addressbook_ui extends addressbook_bo
|
||||
'is_parent' => 'group_count',
|
||||
'parent_id' => 'parent_id',
|
||||
'favorites' => true,
|
||||
'placeholder_actions' => array('add')
|
||||
);
|
||||
|
||||
if ($do_email)
|
||||
@ -266,6 +265,7 @@ class addressbook_ui extends addressbook_bo
|
||||
}
|
||||
$sel_options['cat_id'] = array('' => lang('All categories'), '0' => lang('None'));
|
||||
|
||||
$content['nm']['placeholder_actions'] = array('add');
|
||||
// Edit and delete list actions depends on permissions
|
||||
if($this->get_lists(Acl::EDIT))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user