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 @@ ...@@ -55,6 +55,9 @@
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>from Products.ERP5Type.Message import translateString\n <value> <string>from Products.ERP5Type.Message import translateString\n
\n \n
if listbox is None:\n
listbox = []\n
\n
request = context.REQUEST\n request = context.REQUEST\n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
\n \n
...@@ -91,7 +94,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n ...@@ -91,7 +94,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n
</item> </item>
<item> <item>
<key> <string>_params</string> </key> <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>
<item> <item>
<key> <string>errors</string> </key> <key> <string>errors</string> </key>
...@@ -123,6 +126,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n ...@@ -123,6 +126,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n
<string>kw</string> <string>kw</string>
<string>Products.ERP5Type.Message</string> <string>Products.ERP5Type.Message</string>
<string>translateString</string> <string>translateString</string>
<string>None</string>
<string>_getattr_</string> <string>_getattr_</string>
<string>context</string> <string>context</string>
<string>request</string> <string>request</string>
...@@ -149,6 +153,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n ...@@ -149,6 +153,7 @@ return request.RESPONSE.redirect( \'%s/%s?portal_status_message=%s\' % (\n
<key> <string>func_defaults</string> </key> <key> <string>func_defaults</string> </key>
<value> <value>
<tuple> <tuple>
<none/>
<string></string> <string></string>
<string>view</string> <string>view</string>
</tuple> </tuple>
......
1025 1026
\ No newline at end of file \ 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