mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 14:29:02 +01:00
Do not add deleted type to Add or change menus
This commit is contained in:
parent
28ced69832
commit
66200f722b
@ -1041,6 +1041,8 @@ class infolog_ui
|
|||||||
// Types
|
// Types
|
||||||
$types = $this->get_validtypes();
|
$types = $this->get_validtypes();
|
||||||
$types_add = array();
|
$types_add = array();
|
||||||
|
// Do not add deleted type to add or change menus
|
||||||
|
unset($types['delete']);
|
||||||
foreach($types as $type => &$data)
|
foreach($types as $type => &$data)
|
||||||
{
|
{
|
||||||
if ($type=='email') continue;//requirement by sales that it should not be shown in right - click - action dialog
|
if ($type=='email') continue;//requirement by sales that it should not be shown in right - click - action dialog
|
||||||
|
Loading…
Reference in New Issue
Block a user