> >>Deciding what folder to move things to is easy. Just check your > >>current folder and decide accordingly. But how can I change the button > >>based on what folder im in? Is this possible? Can I listen to an > >>event on folder change and change the button? > > I've just committed a new event named 'listupdate' which is triggered after > the message list is updated (ajax response). The handler gets a field named > 'folder' in its event argument. > > I haven't tested it yet but this should give you the right event for > activating the spam button.
It looks like you also committed a 'selectfolder' event, which i think is more what I was looking for. Thanks! Works as advertised, Regards, Cor _______________________________________________ List info: http://lists.roundcube.net/dev/
