*Finish task #45545.

This commit is contained in:
songchenxuan
2021-12-09 11:16:29 +08:00
parent 8b874bfbbc
commit 2b7e0ed4b3
7 changed files with 15 additions and 5 deletions
+3 -1
View File
@@ -63,9 +63,11 @@ function loadBranch()
*/
function loadProductBranches(productID)
{
var param = '';
if(page == 'create') param = 'active';
$('#branch').remove();
$('#branch_chosen').remove();
$.get(createLink('branch', 'ajaxGetBranches', "productID=" + productID + "&oldBranch=0&param=&projectID=" + executionID), function(data)
$.get(createLink('branch', 'ajaxGetBranches', "productID=" + productID + "&oldBranch=0&param=" + param + "&projectID=" + executionID), function(data)
{
var $product = $('#product');
var $inputGroup = $product.closest('.input-group');