[RCD] Invoking a reply action

Craig Fairhurst craig.fairhurst at youds.com
Fri Aug 27 13:20:30 CEST 2010


Hi

I wasn't sure if this would be the right place to post this question but as it's technical here goes.
I'm developing a skin and want to invoke a reply action from the messagelist, by overriding the dblclick action when the Preview Pane is active.
I've managed to disable the native Roundcube dblclick event by setting rcmail.message_list.dblclik_time to a negative value.
However, I now wish to override the event with a custom reply handler. The rcmail.commands array is populated and when a row is selected in the message list it is set to true.
The problem is, rcmail.command_handlers is never populated and so I can't find a way to initiate a reply message to the selected row.

Where is this event handler stored? 

Thanks in advance


Craig Fairhurst
Call 	+44 (0)1200 422 533
Fax	+44 (0)1200 422 566


This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. http://youds.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roundcube.net/pipermail/dev/attachments/20100827/1df8a3c7/attachment.html>
-------------- next part --------------
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80


More information about the Dev mailing list