From 5cd3a9d6b5ca31bac8e9804fc6d922159147359e Mon Sep 17 00:00:00 2001 From: Thierry Brettnacher <tb@nexedi.com> Date: Fri, 23 Jan 2004 15:35:23 +0000 Subject: [PATCH] dialog_category argument now provided in print action git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@274 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/skins/erp5_html_style/view_menu_box.pt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5/skins/erp5_html_style/view_menu_box.pt b/product/ERP5/skins/erp5_html_style/view_menu_box.pt index 06c2d4f24d..34725fa3f4 100755 --- a/product/ERP5/skins/erp5_html_style/view_menu_box.pt +++ b/product/ERP5/skins/erp5_html_style/view_menu_box.pt @@ -70,10 +70,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. </a> </span> <span tal:condition="print_actions"> - <a href="print" + <a href="" tal:attributes="href python:print_actions[0]['url'] - + '?selection_name=%s&form_id=%s' - % (selection_name , form_id) "> + + '?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="title python:gettext('Print'); alt python:gettext('Print')"/> -- 2.30.9