In http_response() we have:

if (response.action == 'list')
   this.triggerEvent('listupdate', { folder:this.env.source, 
rowcount:this.contact_list.rowcount });

I think we should add (instead) a "global" event at the end of http_response 
function:

this.triggerEvent('http_response', { action:response.action });

So, plugins could bind to one (http_response) event and there just check
for which action it's executed. Am I right?

-- 
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net
_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to