From 443f322340e71626d6ba02c416784a9eb5c8d466 Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Fri, 30 Apr 2021 10:35:11 +0800 Subject: [PATCH] * Fix the navigation highlighting problem of the testtask. --- module/testtask/control.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/module/testtask/control.php b/module/testtask/control.php index 9afeb12e09..6660051352 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -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;