*Finish task #45539.

This commit is contained in:
songchenxuan
2021-12-10 11:34:18 +08:00
parent 7d58d95af3
commit 33efd7faf3
2 changed files with 4 additions and 2 deletions

View File

@@ -529,7 +529,8 @@ function loadProductBranches(productID, param)
$('#branch_chosen').remove();
$('#branch').next('.picker').remove();
var param = (typeof(tab) != 'undefined' && (tab == 'execution' || tab == 'project')) ? "productID=" + productID + "&oldBranch=0&param=" + param + "&projectID=" + objectID : "productID=" + productID + "&oldBranch=0&param=" + param;
var param = "productID=" + productID + "&oldBranch=0&param=" + param;
param += (typeof(tab) != 'undefined' && (tab == 'execution' || tab == 'project')) ? "&projectID=" + objectID : "";
$.get(createLink('branch', 'ajaxGetBranches', param), function(data)
{
if(data)