Commit 6cb29bcb authored by Łukasz Nowak's avatar Łukasz Nowak

- disable setting text format on tickets, as they are not documents


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35562 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 83c6aebc
......@@ -53,8 +53,9 @@
</item>
<item>
<key> <string>_body</string> </key>
<value> <string># Set preferred text format\n
context.edit(content_type=context.portal_preferences.getPreferredTextFormat())\n
<value> <string># XXX: Tickets are not documents, so content_type on them has no sense at all\n
# Set preferred text format\n
#context.edit(content_type = context.portal_preferences.getPreferredTextFormat())\n
</string> </value>
</item>
<item>
......@@ -93,8 +94,6 @@ context.edit(content_type=context.portal_preferences.getPreferredTextFormat())\n
<tuple>
<string>args</string>
<string>kw</string>
<string>_getattr_</string>
<string>context</string>
</tuple>
</value>
</item>
......
468
\ No newline at end of file
469
\ 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