* [bug#57678] fix bug for create build on create testtask page.
This commit is contained in:
@@ -10,8 +10,8 @@ $().ready(function()
|
||||
$(document).off('change', '[name=product], [name^=branch]').on('change', '[name=product], [name^=branch]', function()
|
||||
{
|
||||
let projectID = $('input[name=project]').val();
|
||||
let productID = $('input[name=product]').val();
|
||||
let systemID = $('input[name=system]').val();
|
||||
let productID = $('#createBuildForm input[name=product]').val();
|
||||
let systemID = $('input[name=system]').val();
|
||||
$.get($.createLink('build', 'ajaxGetProjectBuilds', 'projectID=' + projectID + '&productID=' + productID + '&varName=builds&build=&branch=all&&needCreate=&type=noempty,notrunk,separate,singled&systemID=' + systemID), function(data)
|
||||
{
|
||||
if(data)
|
||||
|
||||
@@ -110,6 +110,7 @@ $productBranches = zget($product, 'branches', array());
|
||||
formPanel
|
||||
(
|
||||
set::title($lang->build->create),
|
||||
set::formID('createBuildForm'),
|
||||
on::change('[name=newSystem]', 'setSystemBox'),
|
||||
on::change('[name=system]', 'loadBuilds'),
|
||||
$integratedRow,
|
||||
|
||||
Reference in New Issue
Block a user