From 833b9b14ae5668e986977914d87986de17c575fc Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Tue, 17 Aug 2021 09:26:20 +0800 Subject: [PATCH] * Fix the problem that the first product cannot be linked when copye execution. --- module/execution/js/create.js | 1 + 1 file changed, 1 insertion(+) diff --git a/module/execution/js/create.js b/module/execution/js/create.js index 37c722e6d5..bd7232c468 100644 --- a/module/execution/js/create.js +++ b/module/execution/js/create.js @@ -32,6 +32,7 @@ $(function() /* Assign value to the manage products by the different request type.*/ var product = $('#products0'); + if(copyExecutionID) productID = product.val(); $(product).val(productID); $(product).trigger("chosen:updated"); loadBranches($(product));