* Modify the test case back link problem.

This commit is contained in:
tianshujie
2021-08-27 15:24:32 +08:00
parent 66334479d5
commit 5f740be96b
8 changed files with 22 additions and 4 deletions

View File

@@ -325,8 +325,9 @@ js::set('moduleID', $moduleID);
<tfoot>
<tr>
<td colspan="3" class="text-center form-actions">
<?php $browseLink = $this->session->bugList ? $this->session->bugList : $this->inlink('browse', "productID=$productID");?>
<?php echo html::submitButton();?>
<?php echo html::backButton();?>
<?php echo html::linkButton($lang->goback, $browseLink, 'self', '', 'btn btn-wide');?>
<?php echo html::hidden('case', (int)$caseID) . html::hidden('caseVersion', (int)$version);?>
<?php echo html::hidden('result', (int)$runID) . html::hidden('testtask', empty($testtask) ? 0 : $testtask->id);?>
</td>