Commit 9988b3f6 authored by Julien Muchembled's avatar Julien Muchembled

Fix Event_init

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39958 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 66b6b76e
...@@ -57,7 +57,7 @@ type_definition = context.getTypeInfo()\n ...@@ -57,7 +57,7 @@ type_definition = context.getTypeInfo()\n
\n \n
short_portal_type = type_definition.getShortTitle()\n short_portal_type = type_definition.getShortTitle()\n
if not short_portal_type:\n if not short_portal_type:\n
short_portal_type = \'\'.join([s for s in portal_type if s.isupper()])\n short_portal_type = \'\'.join(s for s in type_definition.getId() if s.isupper())\n
\n \n
id_group = (\'reference\', short_portal_type)\n id_group = (\'reference\', short_portal_type)\n
default = 1\n default = 1\n
...@@ -115,11 +115,7 @@ context.edit(content_type=context.portal_preferences.getPreferredTextFormat(),\n ...@@ -115,11 +115,7 @@ context.edit(content_type=context.portal_preferences.getPreferredTextFormat(),\n
<string>context</string> <string>context</string>
<string>type_definition</string> <string>type_definition</string>
<string>short_portal_type</string> <string>short_portal_type</string>
<string>append</string>
<string>$append0</string>
<string>_getiter_</string> <string>_getiter_</string>
<string>portal_type</string>
<string>s</string>
<string>id_group</string> <string>id_group</string>
<string>default</string> <string>default</string>
<string>new_id</string> <string>new_id</string>
......
498 499
\ 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