From 756c28a2e70fa0c17060d8b7525bd4f1c895a446 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 5 Sep 2013 12:59:51 +0530 Subject: [PATCH] [fix] [minor] don't show portal link in communication thread --- public/js/wn/views/communication.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/wn/views/communication.js b/public/js/wn/views/communication.js index 34d2fe74da..5c986bc1db 100644 --- a/public/js/wn/views/communication.js +++ b/public/js/wn/views/communication.js @@ -83,6 +83,7 @@ wn.views.CommunicationList = Class.extend({ doc._sender = doc.sender.replace(//, ">"); doc.content = doc.content.split("-----"+wn._("In response to")+"-----")[0]; doc.content = doc.content.split("-----"+wn._("Original Message")+"-----")[0]; + doc.content = doc.content.split("")[0]; }, make_line: function(doc) { @@ -331,7 +332,7 @@ wn.views.CommunicationComposer = Class.extend({ page: portal_args["page"], name: encodeURIComponent(this.doc.name) }); - portal_link = '--
View this on our website'; + portal_link = '--
View this on our website'; } } return portal_link;