summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-11-21 08:22:29 +0000
committersvncommit <devs@roundcube.net>2006-11-21 08:22:29 +0000
commit08c007327c5115a44b6589b4ba809f075b15b365 (patch)
tree463d0df69cfe5ff9760b7399491e4b52673e269a /program/js
parent31c171846ec7c387fb7fc3e979a63330420002b0 (diff)
Enable purge command in Junk folder.
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
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);