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 9ab4aa0123..6b6835039c 100644 --- a/module/story/view/header.html.php +++ b/module/story/view/header.html.php @@ -216,7 +216,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()