* Finish task#7950.
This commit is contained in:
@@ -167,8 +167,9 @@ $filter->qa->default->cookie['lastProduct'] = 'int';
|
||||
$filter->qa->default->cookie['preBranch'] = 'int';
|
||||
$filter->qa->default->cookie['preProductID'] = 'int';
|
||||
|
||||
$filter->story->create->cookie['lastStoryModule'] = 'int';
|
||||
$filter->story->export->cookie['checkedItem'] = 'reg::checked';
|
||||
$filter->story->create->cookie['lastStoryModule'] = 'int';
|
||||
$filter->story->batchcreate->cookie['preProductID'] = 'int';
|
||||
$filter->story->export->cookie['checkedItem'] = 'reg::checked';
|
||||
|
||||
$filter->task->create->cookie['lastTaskModule'] = 'int';
|
||||
$filter->task->export->cookie['checkedItem'] = 'reg::checked';
|
||||
|
||||
@@ -294,6 +294,9 @@ class story extends control
|
||||
*/
|
||||
public function batchCreate($productID = 0, $branch = 0, $moduleID = 0, $storyID = 0, $project = 0, $plan = 0, $type = 'story')
|
||||
{
|
||||
if($productID != $this->cookie->preProductID) unset($_SESSION['storyImagesFile']);
|
||||
setcookie('preProductID', $productID, $this->config->cookieLife, $this->config->webRoot, '', false, true);
|
||||
|
||||
/* Check can subdivide or not. */
|
||||
if($storyID)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user