* Fix the problem of the build under the project.

This commit is contained in:
tianshujie98
2021-03-22 16:04:50 +08:00
parent 754bb25a0d
commit 77a5d0a200
5 changed files with 27 additions and 31 deletions
+6 -5
View File
@@ -212,11 +212,12 @@ class testtask extends control
$this->view->position[] = $this->lang->testtask->common;
$this->view->position[] = $this->lang->testtask->create;
$this->view->executions = $executions;
$this->view->productID = $productID;
$this->view->builds = $builds;
$this->view->build = $build;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|qdfirst|nodeleted');
$this->view->executionID = $executionID;
$this->view->executions = $executions;
$this->view->productID = $productID;
$this->view->builds = $builds;
$this->view->build = $build;
$this->view->users = $this->loadModel('user')->getPairs('noclosed|qdfirst|nodeleted');
$this->display();
}
+1 -1
View File
@@ -35,7 +35,7 @@
<?php endif;?>
<tr>
<th class='w-80px'><?php echo $lang->testtask->execution;?></th>
<td class='w-p35-f'><?php echo html::select('execution', $executions, '', "class='form-control chosen' onchange='loadExecutionRelated(this.value)'");?></td><td></td>
<td class='w-p35-f'><?php echo html::select('execution', $executions, $executionID, "class='form-control chosen' onchange='loadExecutionRelated(this.value)'");?></td><td></td>
</tr>
<tr>
<th class='w-80px'><?php echo $lang->testtask->build;?></th>