Forum Discussion
PerBonomi
9 years agoBoss
I assume that quick reply uses env.context, so placing it outside confuses it, not finding a message id to work with.
You could make a very simple custom component along these lines:
<span class="button" id="bt1">Quick Reply</span>
<textarea id="qr" class="hidden"></textarea>
<span class="button" id="qr_submit" data-cust-id="${page.context.message.uniqueId}">Submit</span>
Then do some simply jquery to toggle the textarea on click of #bt1, and on click of #qr_submit grab the textarea value then use body = value?url, msg_id = $(this).attr("data-cust-id") and call a simple endpoint to do your posting.
Related Content
- 5 years ago
- 5 years ago
- 4 years ago
- 11 years ago