Small patch to enable the Junk folder to be purged (emptied).

Index: program/js/app.js
===================================================================
--- program/js/app.js   (revision 367)
+++ program/js/app.js   (working copy)
@@ -3116,7 +3116,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);




Robin


Reply via email to