* Adjust actions on action trash.
This commit is contained in:
@@ -46,4 +46,4 @@ $config->action->dtable->fieldList['actions']['title'] = $lang->actions;
|
||||
$config->action->dtable->fieldList['actions']['type'] = 'actions';
|
||||
$config->action->dtable->fieldList['actions']['sortType'] = false;
|
||||
$config->action->dtable->fieldList['actions']['list'] = $config->action->actionList;
|
||||
$config->action->dtable->fieldList['actions']['menu'] = array('undelete', 'hideone');
|
||||
$config->action->dtable->fieldList['actions']['menu'] = array('undelete');
|
||||
|
||||
@@ -59,6 +59,8 @@ if($currentObjectType != 'execution') unset($confi
|
||||
if(strpos(',story,requirement,', ",$currentObjectType,") === false) unset($config->action->dtable->fieldList['product']);
|
||||
if($currentObjectType != 'task') unset($config->action->dtable->fieldList['execution']);
|
||||
|
||||
if($type == 'all') $config->action->dtable->fieldList['actions']['menu'][] = 'hideone';
|
||||
|
||||
$trashes = initTableData($trashes, $config->action->dtable->fieldList, $this->action);
|
||||
dtable
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user