forked from extern/egroupware
Addressbook - fix missing add action on no rows after some actions
This commit is contained in:
parent
7b01dab757
commit
f41d9a8e1c
@ -251,7 +251,6 @@ class addressbook_ui extends addressbook_bo
|
|||||||
'is_parent' => 'group_count',
|
'is_parent' => 'group_count',
|
||||||
'parent_id' => 'parent_id',
|
'parent_id' => 'parent_id',
|
||||||
'favorites' => true,
|
'favorites' => true,
|
||||||
'placeholder_actions' => array('add')
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($do_email)
|
if ($do_email)
|
||||||
@ -266,6 +265,7 @@ class addressbook_ui extends addressbook_bo
|
|||||||
}
|
}
|
||||||
$sel_options['cat_id'] = array('' => lang('All categories'), '0' => lang('None'));
|
$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
|
// Edit and delete list actions depends on permissions
|
||||||
if($this->get_lists(Acl::EDIT))
|
if($this->get_lists(Acl::EDIT))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user