summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-11-21 08:22:29 +0000
committerrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-11-21 08:22:29 +0000
commit3f26b5253fed1b1254f906b0768a97e55398d9e8 (patch)
tree1d901f743bbb8587ec2c7bcfa196cad97ff6037e
parenteb02d48567c46221f9b2b864f75a013e4215f91e (diff)
Enable purge command in Junk folder.
git-svn-id: https://svn.roundcube.net/trunk@376 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
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);