gregg
13 years agoMentor
Autoquote in PMs
Hi, Following on from this thread: http://lithosphere.lithium.com/t5/Product-Support-Board/How-can-I-work-with-my-PMs-more-effectively/m-p/41006 I have created the component and added it to t...
- 13 years ago
Hi Gregg,
After taking another look at this, I think what was happening is that it was trying to perform the quote action before the editor was fully loaded. I tweaked the code a bit, and it seems to be better now:
<@liaAddScript> ;(function($) { $(document).bind('LITHIUM:editorLoaded',function() { $('#messageQuote').click(); }); })(LITHIUM.jQuery); </@liaAddScript>
Please keep in mind that with the code from the previous thread, this has not been fully tested or vetted. I'd strongly suggest checking it out in your staging environment first. As usual, you may also need to tweak the code to meet your exact needs.
I hope this helps!
-Adam
test