From 03cb9122ef79863c658eac84d083927c42f8ff8d Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 30 Nov 2021 14:44:48 +0800 Subject: [PATCH] * Adjust code style of bug module. --- module/bug/js/common.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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(); + }); } }