* Finish task #41555.
This commit is contained in:
@@ -25,8 +25,6 @@ $config->execution->customBatchEditFields = 'days,type,teamname,status,desc,PO,Q
|
||||
$config->execution->custom = new stdclass();
|
||||
$config->execution->custom->batchEditFields = 'days,status,PM';
|
||||
|
||||
$config->execution->skipCreate = array('computeburn', 'ajaxgetdropmenu', 'executionkanban', 'ajaxgetteammembers');
|
||||
|
||||
$config->execution->editor = new stdclass();
|
||||
$config->execution->editor->create = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->execution->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
|
||||
@@ -41,7 +41,8 @@ class execution extends control
|
||||
$this->loadModel('project');
|
||||
|
||||
$this->executions = $this->execution->getPairs(0, 'all', 'nocode');
|
||||
if(!in_array($this->methodName, $this->config->execution->skipCreate) and $this->app->openApp == 'execution')
|
||||
$skipCreateStep = array('computeburn', 'ajaxgetdropmenu', 'executionkanban', 'ajaxgetteammembers');
|
||||
if(!in_array($this->methodName, $skipCreateStep) and $this->app->openApp == 'execution')
|
||||
{
|
||||
if(!$this->executions and $this->methodName != 'index' and $this->methodName != 'create' and $this->app->getViewType() != 'mhtml') $this->locate($this->createLink('execution', 'create'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user