From af83e8a6397e2309dad95a3e0378dda1b9cc2d5c Mon Sep 17 00:00:00 2001 From: mayue Date: Thu, 11 Nov 2021 13:56:02 +0800 Subject: [PATCH] * Resolve display of list Settings #43892. --- module/product/js/browse.js | 2 ++ module/product/view/browse.html.php | 1 + 2 files changed, 3 insertions(+) diff --git a/module/product/js/browse.js b/module/product/js/browse.js index db8128724a..51a85496f5 100644 --- a/module/product/js/browse.js +++ b/module/product/js/browse.js @@ -1,5 +1,7 @@ $(function() { + if(productType != 'branch') $('.table-form>tbody>tr').next().addClass('hidden'); + if(typeof(rawModule) == 'undefined') rawModule = 'product'; if(rawModule != 'projectstory') { diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index cd2fe96d19..3f1668a8c8 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -23,6 +23,7 @@ body {margin-bottom: 25px;} app->rawModule);?> +type);?> product->browse->unfoldStories) ? json_decode($config->product->browse->unfoldStories, true) : array(); $unfoldStories = zget($unfoldStories, $productID, array());