From a8b2009bad18c6383795aa54c033ecd64f6dbdf4 Mon Sep 17 00:00:00 2001 From: songchenxuan Date: Tue, 30 Nov 2021 14:00:37 +0800 Subject: [PATCH] * Finish task #45019. --- module/my/view/testcase.html.php | 2 +- module/testtask/view/cases.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/my/view/testcase.html.php b/module/my/view/testcase.html.php index 1fc94723f8..ca9fd9f131 100644 --- a/module/my/view/testcase.html.php +++ b/module/my/view/testcase.html.php @@ -116,7 +116,7 @@ createLink('testcase', 'batchEdit'); + $actionLink = $this->createLink('testcase', 'batchEdit', "productID=0&branch=all"); $misc = "data-form-action='$actionLink'"; echo html::commonButton($lang->edit, $misc); } diff --git a/module/testtask/view/cases.html.php b/module/testtask/view/cases.html.php index 13e6b8a7e9..e821bce3c3 100644 --- a/module/testtask/view/cases.html.php +++ b/module/testtask/view/cases.html.php @@ -84,7 +84,7 @@
createLink('testcase', 'batchEdit', "productID=$productID&branch=$task->branch"); + $actionLink = $this->createLink('testcase', 'batchEdit', "productID=$productID&branch=all"); $misc = $canBatchEdit ? "onclick=\"setFormAction('$actionLink')\"" : "disabled='disabled'"; echo html::commonButton($lang->edit, $misc); ?>