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 @@ ...@@ -53,8 +53,9 @@
</item> </item>
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string># Set preferred text format\n <value> <string># XXX: Tickets are not documents, so content_type on them has no sense at all\n
context.edit(content_type=context.portal_preferences.getPreferredTextFormat())\n # Set preferred text format\n
#context.edit(content_type = context.portal_preferences.getPreferredTextFormat())\n
</string> </value> </string> </value>
</item> </item>
<item> <item>
...@@ -93,8 +94,6 @@ context.edit(content_type=context.portal_preferences.getPreferredTextFormat())\n ...@@ -93,8 +94,6 @@ context.edit(content_type=context.portal_preferences.getPreferredTextFormat())\n
<tuple> <tuple>
<string>args</string> <string>args</string>
<string>kw</string> <string>kw</string>
<string>_getattr_</string>
<string>context</string>
</tuple> </tuple>
</value> </value>
</item> </item>
......
468 469
\ 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