Commit a2d40141 authored by Lucas Carvalho's avatar Lucas Carvalho

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
parent d20c1bdb
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>title</string>
<string>default</string> <string>default</string>
<string>width</string> <string>enabled</string>
<string>height</string> <string>height</string>
<string>text_editor</string> <string>text_editor</string>
<string>enabled</string> <string>title</string>
<string>whitespace_preserve</string> <string>whitespace_preserve</string>
<string>width</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <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> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
167 168
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment