diff --git a/module/story/control.php b/module/story/control.php index ccf521168d..c1c5005591 100755 --- a/module/story/control.php +++ b/module/story/control.php @@ -201,6 +201,7 @@ class story extends control $this->view->executionID = $executionID; $this->view->type = $storyType; $this->view->fields = $fields; + $this->view->planID = $plan; $this->view->stories = $this->storyZen->getDataFromUploadImages($productID, $moduleID, $plan); $this->view->storyTitle = isset($story->title) ? $story->title : ''; $this->view->forceReview = $this->story->checkForceReview(); diff --git a/module/story/ui/batchcreate.html.php b/module/story/ui/batchcreate.html.php index 688374ee91..cedfa7e81c 100644 --- a/module/story/ui/batchcreate.html.php +++ b/module/story/ui/batchcreate.html.php @@ -71,7 +71,7 @@ formBatchPanel $stories ? set::data($stories) : null, set::ajax(array('beforeSubmit' => jsRaw('clickSubmit'))), set::title($storyID ? $storyTitle . $lang->colon . $this->lang->story->subdivide : $this->lang->story->batchCreate), - set::uploadParams('module=story¶ms=' . helper::safe64Encode("productID=$productID&branch=$branch&moduleID=$moduleID&storyID=$storyID&executionID=$executionID&plan=&type=$type")), + set::uploadParams('module=story¶ms=' . helper::safe64Encode("productID=$productID&branch=$branch&moduleID=$moduleID&storyID=$storyID&executionID=$executionID&plan={$planID}&type=$type")), set::pasteField('title'), set::customFields(array('list' => $customFields, 'show' => explode(',', $showFields), 'key' => 'batchCreateFields')), set::items($fnGenerateFields()),