From 10e9d3a6a84e6c4487ee4add93ef0760ed98dea8 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Tue, 21 Feb 2023 07:14:49 +0000 Subject: [PATCH 1/2] * Fix bug for create execution. --- module/execution/js/common.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/module/execution/js/common.js b/module/execution/js/common.js index 37b32040ba..8dc5f37673 100644 --- a/module/execution/js/common.js +++ b/module/execution/js/common.js @@ -177,9 +177,6 @@ function loadBranches(product) disableSelectedProduct(); } - var branch = $('#branch' + index); - loadPlans(product, branch); - if(typeof isStage != 'undefined' && isStage == true) { $tableRow.find("select[name^='branch'] option").attr('selected', 'selected'); @@ -187,6 +184,10 @@ function loadBranches(product) $tableRow.find("div[id^='branch']").addClass('chosen-disabled'); } }); + + var branch = $('#branch' + index); + loadPlans(product, branch); + } /** From a789a412cb6379bd639285c8506fd3d36e0a3047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Tue, 21 Feb 2023 07:23:03 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0module/execution/js/commo?= =?UTF-8?q?n.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/execution/js/common.js | 1 - 1 file changed, 1 deletion(-) diff --git a/module/execution/js/common.js b/module/execution/js/common.js index 8dc5f37673..92ca8e7134 100644 --- a/module/execution/js/common.js +++ b/module/execution/js/common.js @@ -187,7 +187,6 @@ function loadBranches(product) var branch = $('#branch' + index); loadPlans(product, branch); - } /**