mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix contacts show organisation actions too
This commit is contained in:
parent
464b933e38
commit
62f541cce6
@ -424,7 +424,7 @@ class addressbook_ui extends addressbook_bo
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// org view
|
||||
$actions += array(
|
||||
'view_org' => array(
|
||||
@ -1414,7 +1414,7 @@ window.egw_LAB.wait(function() {
|
||||
{
|
||||
// Query doesn't like empties
|
||||
unset($query['col_filter']['parent_id']);
|
||||
|
||||
|
||||
if($query['actions'] && $query['actions']['open'])
|
||||
{
|
||||
// Just switched from contact view, update actions
|
||||
@ -1643,7 +1643,7 @@ window.egw_LAB.wait(function() {
|
||||
}
|
||||
if (!$row['owner'])
|
||||
{
|
||||
$row['class'] .= 'rowAccount rowNoDelete';
|
||||
$row['class'] .= 'rowAccount rowNoDelete ';
|
||||
}
|
||||
elseif (!$this->check_perms(EGW_ACL_DELETE,$row) || (!$GLOBALS['egw_info']['user']['apps']['admin'] && $this->config['history'] != 'userpurge' && $query['col_filter']['tid'] == addressbook_so::DELETED_TYPE))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user