HI all!
I'm writting a plugin that creates a button and enables it when it's necesary.
I added an eventlistener and the plugin enables my button (it's ok) but only when the mail is selected from the messages list.
I wana enable my button when the message is showed too.
What event/task/action should I use?
Example:
rcmail.message_list.addEventListener('select', function(list){ this.parseANDenable( $('tr#rcmrow' + list.get_selection() + '.message td.subject a').html() ) });