Commit 00efbe33 authored by Ivan Tyagov's avatar Ivan Tyagov

Do not override a global PT varible in a loop (nonsense and actually starts...

Do not override a global PT varible in a loop (nonsense and actually starts works in Zope 2.12 Pt as in Zope 2.8 remains unnoticed).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38841 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 91ddba81
...@@ -199,7 +199,6 @@ ...@@ -199,7 +199,6 @@
knowledge_pad.getRelativeUrl()==active_knowledge_pad.getRelativeUrl()"> \n knowledge_pad.getRelativeUrl()==active_knowledge_pad.getRelativeUrl()"> \n
\n \n
<li tal:condition="is_active"\n <li tal:condition="is_active"\n
tal:define="global active_knowledge_pad knowledge_pad"\n
class="tab tab_selected">\n class="tab tab_selected">\n
<span id="active_knowledge_pad_title" \n <span id="active_knowledge_pad_title" \n
tal:content="knowledge_pad/title"/>\n tal:content="knowledge_pad/title"/>\n
......
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<ZopeData> <ZopeData>
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
<tuple/>
</tuple>
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
...@@ -45,7 +42,7 @@ ...@@ -45,7 +42,7 @@
knowledge_pads python:\n knowledge_pads python:\n
here.ERP5Site_getKnowledgePadListForUser(mode=mode);\n here.ERP5Site_getKnowledgePadListForUser(mode=mode);\n
struct python: here.ERP5Site_getActiveKnowledgePadForUser(knowledge_pads);\n struct python: here.ERP5Site_getActiveKnowledgePadForUser(knowledge_pads);\n
active_knowledge_pad python: struct[0];\n global active_knowledge_pad python: struct[0];\n
knowledge_pads python: struct[1];\n knowledge_pads python: struct[1];\n
hasUserActivity python:\n hasUserActivity python:\n
here.ERP5Site_hasUserActivity(active_knowledge_pad,\n here.ERP5Site_hasUserActivity(active_knowledge_pad,\n
......
549 550
\ 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