* Change the link after create a story.

This commit is contained in:
tianshujie
2023-11-02 09:55:12 +08:00
parent 0bd8ef3566
commit 9dd161d7be
+2 -2
View File
@@ -88,11 +88,11 @@ class story extends control
if($this->post->newStory)
{
$response['message'] = $message . $this->lang->story->newStory;
$response['locate'] = $this->createLink('story', 'create', "productID=$productID&branch=$branch&moduleID=$moduleID&story=$copyStoryID&objectID=$objectID&bugID=$bugID&planID=$planID&todoID=$todoID&extra=$extra&storyType=$storyType");
$response['load'] = $this->createLink('story', 'create', "productID=$productID&branch=$branch&moduleID=$moduleID&story=$copyStoryID&objectID=$objectID&bugID=$bugID&planID=$planID&todoID=$todoID&extra=$extra&storyType=$storyType");
return $this->send($response);
}
$response['locate'] = $this->storyZen->getAfterCreateLocation((int)$productID, $branch, $objectID, $storyID, $storyType);
$response['load'] = $this->storyZen->getAfterCreateLocation((int)$productID, $branch, $objectID, $storyID, $storyType);
return $this->send($response);
}