Thomas Bruederli wrote: >> So, plugins could bind to one (http_response) event and there just check >> for which action it's executed. Am I right? >> > I thought of that solution as well but I wasn't sure if it's nice when > all handlers are called on every http_response (also internals). It > could open more possible events to hook in but as a disadvantage it'll > probably reduce speed.
So, we can at least change this to: this.triggerEvent(response.action + '_reply', response); -- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Developer http://roundcube.net _______________________________________________ List info: http://lists.roundcube.net/dev/
