This commit is contained in:
liuhong
2023-01-09 01:00:12 +00:00
parent b6f3986894
commit 3bb38d3358
+9 -1
View File
@@ -758,7 +758,15 @@ class productplan extends control
$this->productplan->unlinkStory($storyID, $planID);
$this->loadModel('action')->create('productplan', $planID, 'unlinkstory', '', $storyID);
return print(js::locate($this->createLink('productplan', 'view', "planID=$planID&type=story"), 'parent'));
if($this->session->storyList)
{
return print(js::locate($this->session->storyList, 'parent'));
}
else
{
return print(js::locate($this->createLink('productplan', 'view', "planID=$planID&type=story"), 'parent'));
}
}
}