* Fix bug #41228.
This commit is contained in:
@@ -146,7 +146,7 @@ $config->bug->actionList['edit']['data-app'] = $app->tab;
|
||||
$config->bug->actionList['copy']['icon'] = 'copy';
|
||||
$config->bug->actionList['copy']['text'] = $lang->bug->copy;
|
||||
$config->bug->actionList['copy']['hint'] = $lang->bug->copy;
|
||||
$config->bug->actionList['copy']['url'] = array('module' => 'bug', 'method' => 'create', 'params' => 'productID={product}&branch={branch}&extra=bugID={id}');
|
||||
$config->bug->actionList['copy']['url'] = array('module' => 'bug', 'method' => 'create', 'params' => 'productID={product}&branch={branch}&extra=bugID={id},projectID={project},executionID={execution}');
|
||||
$config->bug->actionList['copy']['data-app'] = $app->tab;
|
||||
|
||||
$config->bug->actionList['delete']['icon'] = 'trash';
|
||||
|
||||
+10
-2
@@ -847,13 +847,21 @@ class bugZen extends bug
|
||||
|
||||
if($this->app->tab == 'execution')
|
||||
{
|
||||
if(isset($output['executionID'])) $this->loadModel('execution')->setMenu((int)$output['executionID']);
|
||||
if(isset($output['executionID']))
|
||||
{
|
||||
$this->loadModel('execution')->setMenu((int)$output['executionID']);
|
||||
$this->view->executionID = $output['executionID'];
|
||||
}
|
||||
$execution = $this->dao->findById($this->session->execution)->from(TABLE_EXECUTION)->fetch();
|
||||
if($execution->type == 'kanban') $this->assignKanbanVars($execution, $output);
|
||||
}
|
||||
elseif($this->app->tab == 'project')
|
||||
{
|
||||
if(isset($output['projectID'])) $this->loadModel('project')->setMenu((int)$output['projectID']);
|
||||
if(isset($output['projectID']))
|
||||
{
|
||||
$this->loadModel('project')->setMenu((int)$output['projectID']);
|
||||
$this->view->projectID = $output['projectID'];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user