Commit a91ab9b6 authored by Jérome Perrin's avatar Jérome Perrin

set portal_skin in REQUEST, some skins uses it to enable / disable fields

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18384 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 83fdf0cf
......@@ -66,6 +66,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string>context.getPortalObject().portal_skins.changeSkin(\'ODS\')\n
container.REQUEST.set(\'portal_skin\', \'ODS\') # Some TALES expressions checks this\n
return getattr(context, form_id)()\n
</string> </value>
</item>
......@@ -112,6 +113,7 @@ return getattr(context, form_id)()\n
<string>form_id</string>
<string>_getattr_</string>
<string>context</string>
<string>container</string>
<string>getattr</string>
</tuple>
</value>
......
99
\ No newline at end of file
100
\ 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