This commit is contained in:
wangyidong
2018-10-29 14:09:39 +08:00
parent fb1e83ffdc
commit fb9a368cea
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -426,12 +426,14 @@ function setStories(moduleID, productID)
function loadProductBranches(productID)
{
$('#branch').remove();
$('#branch_chosen').remove();
$.get(createLink('branch', 'ajaxGetBranches', "productID=" + productID), function(data)
{
if(data)
{
$('#product').closest('.input-group').append(data);
$('#branch').css('width', page == 'create' ? '120px' : '65px');
$('#branch').chosen();
}
})
}
+1 -1
View File
@@ -9,7 +9,7 @@ function loadAllUsers()
var link = createLink('bug', 'ajaxLoadAllUsers', 'selectedUser=' + $('#assignedTo').val());
$.get(link, function(data)
{
if (data)
if(data)
{
var moduleID = $('#module').val();
var productID = $('#product').val();