Commit 56ebf97c authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

crm: respect chosen template notification message's content type in event creation dialog.

parent 3b28098c
......@@ -91,6 +91,7 @@ if response_event_notification_message:\n
request.set(\'your_response_event_notification_message\', \'\')\n
request.set(\'your_response_event_title\', title)\n
request.set(\'your_response_event_text_content\', temp_event.getTextContent())\n
request.set(\'your_response_event_content_type\', temp_event.getContentType())\n
request.set(\'your_response_event_resource\', temp_event.getResource())\n
\n
return context.Ticket_viewCreateResponseWorkflowActionDialog()\n
......
......@@ -182,7 +182,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: context.Ticket_getCausalityValue().Base_getEditorFieldPreferredTextEditor(content_type=context.Ticket_getCausalityValue().Event_getPreferredResponseEventContentType())</string> </value>
<value> <string>python: context.Base_getEditorFieldPreferredTextEditor(content_type=request.get(\'your_response_event_content_type\') or context.Ticket_getCausalityValue().Event_getPreferredResponseEventContentType())</string> </value>
</item>
</dictionary>
</pickle>
......
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