From a2d40141aaa57c341c6db24c50ae4c4f50a7ec24 Mon Sep 17 00:00:00 2001 From: Lucas Carvalho <lucas@nexedi.com> Date: Mon, 31 Aug 2009 12:40:19 +0000 Subject: [PATCH] fixed bug, the web section gadget should not be displayed when there are not visible subsection. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28692 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../subsection_list.xml | 8 ++++---- bt5/erp5_commerce/bt/revision | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_multiflex_layout/erp5_web_multiflex5_commerce_layout/subsection_list.xml b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_multiflex_layout/erp5_web_multiflex5_commerce_layout/subsection_list.xml index 1e5cdc67cc..dce35606a5 100644 --- a/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_multiflex_layout/erp5_web_multiflex5_commerce_layout/subsection_list.xml +++ b/bt5/erp5_commerce/SkinTemplateItem/portal_skins/erp5_commerce_multiflex_layout/erp5_web_multiflex5_commerce_layout/subsection_list.xml @@ -13,13 +13,13 @@ <key> <string>delegated_list</string> </key> <value> <list> - <string>title</string> <string>default</string> - <string>width</string> + <string>enabled</string> <string>height</string> <string>text_editor</string> - <string>enabled</string> + <string>title</string> <string>whitespace_preserve</string> + <string>width</string> </list> </value> </item> @@ -185,7 +185,7 @@ <dictionary> <item> <key> <string>_text</string> </key> - <value> <string>python:len(request.current_web_section.contentValues())</string> </value> + <value> <string>python:len(request.current_web_section.getSiteMapTree())</string> </value> </item> </dictionary> </pickle> diff --git a/bt5/erp5_commerce/bt/revision b/bt5/erp5_commerce/bt/revision index 2efea5198b..a3090d211b 100644 --- a/bt5/erp5_commerce/bt/revision +++ b/bt5/erp5_commerce/bt/revision @@ -1 +1 @@ -167 \ No newline at end of file +168 \ No newline at end of file -- 2.30.9