testcase->common . $lang->colon . $lang->testcase->batchEdit;?>

From ce5044b2a5c0fad306a525525c9785110b65a32a Mon Sep 17 00:00:00 2001 From: sunjun Date: Mon, 11 Apr 2022 14:53:31 +0800 Subject: [PATCH 2/3] *Fixbug_sunjun_21618 --- module/testcase/js/batchedit.js | 1 - 1 file changed, 1 deletion(-) diff --git a/module/testcase/js/batchedit.js b/module/testcase/js/batchedit.js index 4b5d929bd9..03f24b342b 100644 --- a/module/testcase/js/batchedit.js +++ b/module/testcase/js/batchedit.js @@ -47,7 +47,6 @@ $(document).ready(function() { $('#navbar li[data-id=caselib]').addClass('active'); $('#navbar li[data-id=testcase]').removeClass('active'); - console.log(isLibCase); } }) From c36f432e1af1508f2a1655251c0ba84bfb4f5fc0 Mon Sep 17 00:00:00 2001 From: sunjun Date: Tue, 12 Apr 2022 08:35:31 +0800 Subject: [PATCH 3/3] *Fixbug_sunjun_21618 --- module/testcase/control.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index ebf232307b..27ec933b97 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -953,7 +953,6 @@ class testcase extends control if($this->app->tab == 'qa') $this->testcase->setMenu($this->products, $productID, $branch); if($this->app->tab == 'execution') $this->loadModel('execution')->setMenu($this->session->execution); - $isLibCase = $type == 'lib' ? true : false; /* The cases of a product. */ if($productID) { @@ -1094,7 +1093,7 @@ class testcase extends control $this->view->cases = $cases; $this->view->forceNotReview = $this->testcase->forceNotReview(); $this->view->modulePairs = $modulePairs; - $this->view->isLibCase = $isLibCase; + $this->view->isLibCase = $type == 'lib' ? true : false; $this->display(); }