diff --git a/module/my/view/testcase.html.php b/module/my/view/testcase.html.php index f23b15d871..8c7469cc5f 100644 --- a/module/my/view/testcase.html.php +++ b/module/my/view/testcase.html.php @@ -77,7 +77,7 @@ - case); ?> + id); ?> pri?>' title='testcase->priList, $case->pri, $case->pri);?>'>testcase->priList, $case->pri, $case->pri)?> version";?> @@ -117,7 +117,7 @@ if($canBatchEdit) { $actionLink = $this->createLink('testcase', 'batchEdit', "productID=0&branch=all"); - $misc = "data-form-action='$actionLink'"; + $misc = "onclick=\"setFormAction('$actionLink', '', '#myCaseForm')\""; echo html::commonButton($lang->edit, $misc); } if($canBatchRun) diff --git a/module/testcase/view/browse.html.php b/module/testcase/view/browse.html.php index bb574ce338..33d134774b 100644 --- a/module/testcase/view/browse.html.php +++ b/module/testcase/view/browse.html.php @@ -129,7 +129,7 @@ js::set('suiteID', $suiteID); echo html::commonButton($lang->testtask->runCase, $misc); $actionLink = $this->createLink('testcase', 'batchEdit', "productID=$productID&branch=$branch"); - $misc = $canBatchEdit ? "onclick=\"setFormAction('$actionLink')\"" : "disabled='disabled'"; + $misc = $canBatchEdit ? "onclick=\"setFormAction('$actionLink', '', '#caseForm')\"" : "disabled='disabled'"; echo html::commonButton($lang->edit, $misc); ?>