diff --git a/module/bug/js/common.js b/module/bug/js/common.js index 7810af0292..d9b077a92f 100644 --- a/module/bug/js/common.js +++ b/module/bug/js/common.js @@ -665,8 +665,11 @@ function setBranchRelated(branchID, productID, num) if(config.currentMethod == 'batchedit') { - planID = $('#plans' + num).val(); + planID = $('#plans' + num).val(); planLink = createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&branch=' + branchID + '&planID=' + planID + '&fieldID=' + num + '&needCreate=false&expired=¶m=skipParent'); - $('#plans' + num).parent('td').load(planLink, function(){$('#plans' + num).chosen();}); + $('#plans' + num).parent('td').load(planLink, function() + { + $('#plans' + num).chosen(); + }); } }