From 08c007327c5115a44b6589b4ba809f075b15b365 Mon Sep 17 00:00:00 2001 From: svncommit Date: Tue, 21 Nov 2006 08:22:29 +0000 Subject: Enable purge command in Junk folder. --- program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program') diff --git a/program/js/app.js b/program/js/app.js index 1f0e3ee1f..8157159fd 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -3155,7 +3155,7 @@ function rcube_webmail() 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); -- cgit v1.2.3