Merge branch 'master_xieqiyu_21550' into 'master'

* Fix bug#21550.

See merge request easycorp/zentaopms!2807
This commit is contained in:
孙广明
2022-04-07 09:23:31 +00:00
3 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ function loadBranches(product)
var projectID = (typeof(systemMode) != 'undefined' && systemMode == 'new') ? $('#project').val() : 0;
var index = $inputgroup.find('select:first').attr('id').replace('products' , '');
$.get(createLink('branch', 'ajaxGetBranches', "productID=" + $(product).val() + "&oldBranch=0&param=active&projectID=" + projectID), function(data)
$.get(createLink('branch', 'ajaxGetBranches', "productID=" + $(product).val() + "&oldBranch=0&param=active&projectID=" + projectID + "&withMainBranch="), function(data)
{
if(data)
{