Enable the 'purge' command on the Junk folder.
Applying this patch results in a interface change to the user (though it's a very very small change) so I would like feedback on this first.
Robin
--- program/js/app.js (revision 371) +++ program/js/app.js (working copy) @@ -3118,7 +3118,7 @@
case 'list':
if (this.env.messagecount)
this.enable_command('purge', (this.env.mailbox==this.env.trash_mailbox));
this.enable_command('purge', (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox));
case 'expunge':
this.enable_command('select-all', 'select-none', 'expunge', this.env.messagecount ? true : false);
On Thu, 16 Nov 2006 15:41:52 +0100, Robin Elfrink elfrink@introweb.nl wrote:
Enable the 'purge' command on the Junk folder.
Applying this patch results in a interface change to the user (though it's a very very small change) so I would like feedback on this first.
Hi,
I tried it, but it doesn't work for me since my junk folder is named "Spam" on my mailbox. Do you know where the "env.junk_mailbox" is defined so I can tune it to my working copy ? (or perhaps there's a way to let the user configure it).
Sorry, I replied a bit too fast ... (it's configureable into config/main.inc.php, approx line 130)
regards,