set document_relative_url as current document url

git-svn-id: https://svn.erp5.org/repos/experimental@1967 bc57dcba-3610-0410-ab4f-dc20bb96b918
parent 1d43440d
......@@ -74,13 +74,12 @@ if not from_url:\n
#We use title of sender\n
from_title = sender_phone.getTitle() \n
from_url = sender_phone.asURL()\n
\n
\n
\n
if not body:\n
body = context.getTextContent()\n
\n
context.portal_sms.send(text=body, recipient=to_url, sender=from_url, sender_title=from_title,message_type="text", test=download, **kw)\n
context.portal_sms.send(text=body,recipient=to_url,sender=from_url,sender_title=from_title,message_type="text", \n
test=download, document_relative_url=context.getRelativeUrl(), **kw)\n
</string> </value>
</item>
<item>
......
5
\ No newline at end of file
6
\ 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