Thomas Bruederli wrote:

 >> this.triggerEvent('http_response', response);

I've seen 'listupdate' event trigger there, so the idea was to replace 
it by something more unified for all actions.

> It would be nice if we could use $OUTPUT->command() in plugins too.
> This would make it easy to either call core functions like
> $OUTPUT->command('move_messages', $junk_mbox) but also custom
> functions defined by the plugin itself.

I probably not understand, check managesieve plugin. There are e.g.:

$this->rc->output->command('managesieve_updatelist', 'down', '', $fid);

... and it's working. Of course in managesieve.js we have:

rcube_webmail.prototype.managesieve_updatelist = function(action, name, 
id) {....

-- 
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/

Reply via email to