* [bug#53493,done,0.3h] modify create build link.

This commit is contained in:
liumengyi
2024-08-02 14:18:15 +08:00
committed by 田淑杰
parent 424905e0f7
commit e161cf0349
2 changed files with 8 additions and 4 deletions
+3 -2
View File
@@ -19,8 +19,8 @@ formPanel
(
set::title($lang->testtask->create),
on::change('#product', isset($executionID) ? 'loadProductRelated' : 'loadTestReports(this.value)'),
on::change('#execution', 'loadExecutionRelated'),
on::change('[name=product]', isset($executionID) ? 'loadProductRelated' : 'loadTestReports(this.value)'),
on::change('[name=execution]', 'loadExecutionRelated'),
formGroup
(
set::width('1/2'),
@@ -70,6 +70,7 @@ formPanel
set::className('input-group-addon', !empty($buildExecutionID) && empty($builds) ? '' : 'hidden'),
a
(
setID('buildCreateLink'),
set('href', createLink('build', 'create', "executionID=$buildExecutionID&productID={$product->id}&projectID={$projectID}")),
set('data-toggle', 'modal'),
$lang->build->create