summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2012-11-15 11:25:22 +0100
committerChristophe Matthieu <chm@openerp.com>2012-11-15 11:25:22 +0100
commitf3bba6c77bee5121fb7721f1365caa4e3d53e20e (patch)
treeec22c64596f22aed1f36529543b44a2828c80ce2
parent3918c05a3757ce6446ad414e2f70fa386b218b18 (diff)
[FIX] mail: do not convert text on html when the user post a message with the widget to message_post_api
bzr revid: chm@openerp.com-20121115102522-sicesckcupbh1nnc
-rw-r--r--addons/mail/static/src/js/mail.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js
index 7052f67f3e9..d1ae7060c1b 100644
--- a/addons/mail/static/src/js/mail.js
+++ b/addons/mail/static/src/js/mail.js
@@ -594,7 +594,7 @@ openerp.mail = function (session) {
//session.web.blockUI();
this.parent_thread.ds_thread.call('message_post_user_api', [
this.context.default_res_id,
- mail.ChatterUtils.get_text2html(body),
+ body,
false,
this.context.default_parent_id,
attachments,