Commit adae6fde authored by Nicolas Delaby's avatar Nicolas Delaby

replace text_format by content_type

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35264 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71d6b51c
......@@ -72,7 +72,7 @@ respond_event = event_module.newContent(\n
causality=context.getRelativeUrl(),\n
follow_up=context.getFollowUp(),\n
text_content=respond_event_text_content,\n
text_format=context.getTextFormat()\n
content_type=context.getContentType()\n
)\n
\n
# Change the state to posted\n
......
......@@ -54,7 +54,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string># Set preferred text format\n
context.edit(text_format = context.portal_preferences.getPreferredTextFormat())\n
context.edit(content_type=context.portal_preferences.getPreferredTextFormat())\n
</string> </value>
</item>
<item>
......
......@@ -93,7 +93,7 @@ if create_event:\n
start_date=DateTime())\n
\n
if quote_original_message:\n
new_event.edit(text_format=event.getTextFormat(),\n
new_event.edit(content_type=event.getContentType(),\n
title=event.getReplySubject(),\n
text_content=event.getReplyBody())\n
</string> </value>
......
463
\ No newline at end of file
465
\ 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