AnsweredAssumed Answered

How can I manipulate the sidebar of a drawer?

Question asked by Francesca Shiekh on May 11, 2015
Latest reply on Jul 14, 2015 by Shijin Krishna
When I open an email compose drawer there is a side bar div with a preview-pane div in it.

When coming from a Case I want to open the case preview (the view you get using the eye in list view) in that pane.

I think I should be able to trigger a preview: render with some javascript:
               

app.events.trigger('preview:render', model, collection, true);

But how/where do I put this to get it in the Email drawer's side pane?

I tried extending the Email compose on custom/modules/Emails/clients/base/views/compose/compose.js 

but I'm not having much success...

thanks,

Francesca

Outcomes