Merge branch 'sprint/hufangzhou_bug_closeBtn' into 'master'
* Fix bug for double close button. See merge request easycorp/zentaopms!7258
This commit is contained in:
@@ -4611,7 +4611,7 @@ class storyModel extends model
|
||||
$menu .= $this->buildMenu('story', 'batchCreate', "productID=$story->product&branch=$story->branch&module=$story->module&$params&executionID=$executionID&plan=0&storyType=story", $story, $type, 'split', '', 'showinonlybody', '', '', $title);
|
||||
}
|
||||
|
||||
if(($this->app->rawModule == 'projectstory' or $storyType == 'requirement') and $this->config->vision != 'lite')
|
||||
if(($this->app->rawModule == 'projectstory' or ($this->app->tab != 'product' and $storyType == 'requirement')) and $this->config->vision != 'lite')
|
||||
{
|
||||
if($canCreateCase and ($canClose or $canUnlinkStory)) $menu .= "<div class='dividing-line'></div>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user