* Fix the navigation highlighting problem of the testtask.

This commit is contained in:
tianshujie98
2021-04-30 10:35:11 +08:00
parent 28af0816de
commit 443f322340
-7
View File
@@ -722,12 +722,6 @@ class testtask extends control
/* Set menu. */
if($this->app->openApp == 'project')
{
if($task->auto == 'unit')
{
$this->lang->scrum->menu->qa['subMenu']->testcase['subModule'] = 'testtask';
$this->lang->scrum->menu->qa['subMenu']->testtask['subModule'] = '';
}
$this->loadModel('project')->setMenu($task->project);
$this->lang->modulePageNav = $this->product->select($this->products, $productID, 'testtask', 'browseUnits');
}
@@ -738,7 +732,6 @@ class testtask extends control
else
{
$this->loadModel('qa')->setMenu($this->products, $productID, $task->branch, $taskID);
if($task->auto == 'unit') $this->app->rawModule = 'testcase';
}
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->edit;