From b13ad72e5a6319a1f8f6ee79bc53fa9eb16b2151 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Thu, 8 Jun 2023 10:23:10 +0800 Subject: [PATCH] * Call isClickable from storyModel. --- module/product/ui/browse.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/product/ui/browse.html.php b/module/product/ui/browse.html.php index 1800dfcf2a..e384876d2a 100644 --- a/module/product/ui/browse.html.php +++ b/module/product/ui/browse.html.php @@ -293,7 +293,7 @@ $fnBuildActions = function($story) use ($lang, $storyType) $shadow = $this->dao->findByID($story->product)->from(TABLE_PRODUCT)->fetch('shadow'); if($this->app->rawModule != 'projectstory' || $this->config->vision == 'lite' || $shadow) { - $isClick = $this->isClickable($story, 'batchcreate'); + $isClick = $this->story->isClickable($story, 'batchcreate'); $title = $story->type == 'story' ? $this->lang->story->subdivideSR : $this->lang->story->subdivide; if(!$isClick && $story->status != 'closed') {