Commit 209a5d68 authored by Jérome Perrin's avatar Jérome Perrin

one more fix to prevent failure in module workflow dialog when no documents are selected

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24656 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4866baa3
......@@ -55,6 +55,9 @@
<key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Message import translateString\n
\n
if listbox is None:\n
listbox = []\n
\n
request = context.REQUEST\n
portal = context.getPortalObject()\n
\n
......@@ -91,7 +94,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>listbox, comment=\'\', form_id=\'view\', **kw</string> </value>
<value> <string>listbox=None, comment=\'\', form_id=\'view\', **kw</string> </value>
</item>
<item>
<key> <string>errors</string> </key>
......@@ -123,6 +126,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n
<string>kw</string>
<string>Products.ERP5Type.Message</string>
<string>translateString</string>
<string>None</string>
<string>_getattr_</string>
<string>context</string>
<string>request</string>
......@@ -149,6 +153,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n
<key> <string>func_defaults</string> </key>
<value>
<tuple>
<none/>
<string></string>
<string>view</string>
</tuple>
......
1025
\ No newline at end of file
1026
\ 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