From bcbc82c05f0da8d73953dff9e2b9a057f0820c4b Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Fri, 18 Jun 2004 15:11:05 +0000
Subject: [PATCH] now the pring buttons call folder_print so that checked_uids
 can be updated

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1044 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/skins/erp5_html_style/list_menu_box.pt | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/product/ERP5/skins/erp5_html_style/list_menu_box.pt b/product/ERP5/skins/erp5_html_style/list_menu_box.pt
index 3acc5a1a6c..0c48916b4b 100755
--- a/product/ERP5/skins/erp5_html_style/list_menu_box.pt
+++ b/product/ERP5/skins/erp5_html_style/list_menu_box.pt
@@ -63,14 +63,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
           <img src="/images/pro/images/sepacla.png" alt="|"
                tal:attributes="src string:$portal_url/images/sepacla.png"/>&nbsp;
           <span tal:condition="print_actions">
-             <a href="print"
-               tal:attributes="href python:print_actions[0]['url']
-            + '?selection_name=%s&dialog_category=%s&form_id=%s'
-            % (selection_name , 'object_print', form_id) ">
-               <img src="/images/pro/images/print.png" title="Print" width="22" height="22"
-                alt="Print" border="0"
-                tal:attributes="src string:$portal_url/images/print.png"/>
-             </a>&nbsp;
+          <input type="image" src="/images/pro/images/print.png" title="Print"
+               width="22" height="22"
+               name="folder_print:method" alt="Print"
+               tal:attributes="src string:$portal_url/images/print.png"/>&nbsp;
           </span>
           <input type="image" src="/images/pro/images/filenew.png" title="New"
                width="22" height="22"
-- 
2.30.9