*Finish task #45545.

This commit is contained in:
songchenxuan
2021-12-10 14:41:33 +08:00
parent 33efd7faf3
commit a175c752b8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -530,7 +530,7 @@ function loadProductBranches(productID, param)
$('#branch').next('.picker').remove();
var param = "productID=" + productID + "&oldBranch=0&param=" + param;
param += (typeof(tab) != 'undefined' && (tab == 'execution' || tab == 'project')) ? "&projectID=" + objectID : "";
if(typeof(tab) != 'undefined' && (tab == 'execution' || tab == 'project')) param += "&projectID=" + objectID;
$.get(createLink('branch', 'ajaxGetBranches', param), function(data)
{
if(data)
+1 -1
View File
@@ -51,7 +51,7 @@ function loadProductBranches(productID)
if(page == 'create') param = 'active';
$('#branch').remove();
var param = "productID=" + productID + "&oldBranch=0&param=" + param;
param += (typeof(tab) != 'undefined' && (tab == 'execution' || tab == 'project')) ? "&projectID=" + objectID : "";
if(typeof(tab) != 'undefined' && (tab == 'execution' || tab == 'project')) param += "&projectID=" + objectID;
$.get(createLink('branch', 'ajaxGetBranches', param), function(data)
{
if(data)