diff --git a/module/build/js/common.js b/module/build/js/common.js index 8f0538b32f..1ab62a3d81 100644 --- a/module/build/js/common.js +++ b/module/build/js/common.js @@ -20,8 +20,7 @@ function loadBranches(productID) oldBranch = productGroups[productID]['branches']; } - projectID = currentTab == 'execution' ? executionID : projectID; - $.get(createLink('branch', 'ajaxGetBranches', 'productID=' + productID + '&oldBranch=0¶m=active&projectID=' + projectID + '&withMainBranch=true&isSiblings=no&fieldID=0&multiple=multiple'), function(data) + $.get(createLink('branch', 'ajaxGetBranches', 'productID=' + productID + '&oldBranch=0¶m=active&projectID=' + $('#execution').val() + '&withMainBranch=true&isSiblings=no&fieldID=0&multiple=multiple'), function(data) { if(data) {