Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: pratik_1712 on February 04, 2011, 12:45:37 AM

Title: Using before and after plugin events
Post by: pratik_1712 on February 04, 2011, 12:45:37 AM
how to use the plugin event Before and After (http://trac.roundcube.net/wiki/Plugin_Events#beforeandafter)

I need to register event after the load of compose window..
Any resource which list the commands which can be used with before and after..??
Title: Using before and after plugin events
Post by: JohnDoh on February 04, 2011, 03:06:28 AM
the before and after hooks are only for javascript events. If you want to alway do something after the compose window loads then I suggest you use a plugin to add the action to the onload functions and task = mail and action = compose
Title: Using before and after plugin events
Post by: pratik_1712 on February 04, 2011, 03:28:52 AM
you talkin about window.onload in javascript right..??
Can you suggest any plugin that uses that for reference..??