Commit 1b123291 authored by Vincent Pelletier's avatar Vincent Pelletier

Update Folder_print to work with new ERP5XhtmlStyle_filterParameterList.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10585 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f38a1e0b
......@@ -69,7 +69,6 @@
<item>
<key> <string>_body</string> </key>
<value> <string>kw.update(context.REQUEST.form)\n
kw[\'dialog_category\'] = \'object_print\'\n
context.ERP5XhtmlStyle_prepareAction(**kw)\n
\n
print_action_list = context.portal_actions.listFilteredActionsFor(context)[\'object_print\']\n
......@@ -78,7 +77,7 @@ if len(print_action_list) == 0:\n
if len(print_action_list) == 1:\n
return context.ERP5XhtmlStyle_redirect(print_action_list[0][\'url\'], **kw)\n
else:\n
return context.ERP5XhtmlStyle_redirect(\'%s/Base_print\' % (context.absolute_url(), ), **kw)\n
return context.ERP5XhtmlStyle_redirect(\'%s/Base_print\' % (context.absolute_url(), ), keep_items={\'dialog_category\': \'object_print\'}, **kw)\n
</string> </value>
</item>
<item>
......@@ -125,7 +124,6 @@ else:\n
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
<string>_write_</string>
<string>_apply_</string>
<string>_getitem_</string>
<string>print_action_list</string>
......
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