From 3f26b5253fed1b1254f906b0768a97e55398d9e8 Mon Sep 17 00:00:00 2001 From: robin Date: Tue, 21 Nov 2006 08:22:29 +0000 Subject: Enable purge command in Junk folder. git-svn-id: https://svn.roundcube.net/trunk@376 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 1f0e3ee1f..8157159fd 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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