From cbe351104a4adf9f23f631df67f3c4b190001d47 Mon Sep 17 00:00:00 2001 From: lanzongjun Date: Fri, 16 Dec 2022 15:55:01 +0800 Subject: [PATCH] * Fix Bug --- module/story/js/create.js | 2 +- module/story/view/header.html.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/js/create.js b/module/story/js/create.js index 80f87bdbe7..0270259de3 100644 --- a/module/story/js/create.js +++ b/module/story/js/create.js @@ -320,7 +320,7 @@ function loadPlanForTwins(productID, branch, branchIndex) { /* Load plan */ if(branch == '0') branch = ''; - planLink = createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&branch=' + branch + '&planID=0&fieldID=' + branchIndex + '&needCreate=false&expired=unexpired¶m=skipParent|forStory,' + config.currentMethod); + planLink = createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&branch=' + branch + '&planID=0&fieldID=' + branchIndex + '&needCreate=false&expired=unexpired¶m=skipParent,forStory,' + config.currentMethod); if(branchIndex > 0) { var $planIdBox = $('.addBranchesBox'+ branchIndex +' #planIdBox'); diff --git a/module/story/view/header.html.php b/module/story/view/header.html.php index 485950d7d7..9bfd73db09 100644 --- a/module/story/view/header.html.php +++ b/module/story/view/header.html.php @@ -215,7 +215,7 @@ function loadProductPlans(productID, branch) var param = rawMethod == 'edit' ? 'skipParent|forStory' : 'skipParent'; var expired = config.currentMethod == 'create' ? 'unexpired' : ''; - var planLink = createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&branch=' + branch + '&planID=' + $('#plan').val() + '&fieldID=&needCreate=true&expired='+ expired +'¶m=skipParent|forStory|' + config.currentMethod); + var planLink = createLink('product', 'ajaxGetPlans', 'productID=' + productID + '&branch=' + branch + '&planID=' + $('#plan').val() + '&fieldID=&needCreate=true&expired='+ expired +'¶m=skipParent,forStory,' + config.currentMethod); var $planIdBox = rawMethod == 'create' ? $('.switchBranch #planIdBox') : $('#planIdBox'); $planIdBox.load(planLink, function()