From 9d432b8b38e4f082f131a0f97f525334a1d6e35d Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Mon, 5 Jul 2010 11:47:41 +0000 Subject: [PATCH] Make collapse image clickable as well. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36861 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_km_theme/Base_viewKnowledgeManagementMacroLibrary.xml | 3 ++- bt5/erp5_km/bt/revision | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/Base_viewKnowledgeManagementMacroLibrary.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/Base_viewKnowledgeManagementMacroLibrary.xml index 7129dd40fe..bc800886d5 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/Base_viewKnowledgeManagementMacroLibrary.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/Base_viewKnowledgeManagementMacroLibrary.xml @@ -64,7 +64,8 @@ tal:condition="exists_siblings">\n <img src="images/tree_closed.png" \n alt=""\n - tal:attributes="id image_dom_id"/>\n + tal:attributes="id image_dom_id;\n + onclick python: \'toggleSection(\\\'%s\\\', \\\'%s\\\')\' %(section_dom_id, image_dom_id)"/>\n <span tal:content="root_section/Base_getTitle"\n style="cursor:pointer;"\n tal:attributes="onclick python: \'toggleSection(\\\'%s\\\', \\\'%s\\\')\' %(section_dom_id, image_dom_id)"/>\n diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision index ce4798b6c6..b6e8717352 100644 --- a/bt5/erp5_km/bt/revision +++ b/bt5/erp5_km/bt/revision @@ -1 +1 @@ -1483 \ No newline at end of file +1484 \ No newline at end of file -- 2.30.9