summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-02 19:48:27 +0000
committeralecpl <alec@alec.pl>2008-04-02 19:48:27 +0000
commitfdccdb4afee82fe8ac4d2853ab806f4a7f90d13d (patch)
treea683de62c7962af56035d25ed86c9c291d290dc3
parentc5097c633b41b242a72ddbd1a8a486599520eabf (diff)
fixed r1237 commit
-rw-r--r--program/js/app.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 46a79659d..94b329d65 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3460,12 +3460,15 @@ function rcube_webmail()
if (this.env.messagecount)
this.enable_command('purge', (this.env.mailbox==this.env.trash_mailbox || this.env.mailbox==this.env.junk_mailbox));
- this.enable_command('sort', (this.env.messagecount > 0));
this.msglist_select(this.message_list);
+ case 'getunread':
+ this.enable_command('sort', (this.env.messagecount > 0));
+
case 'expunge':
this.enable_command('select-all', 'select-none', 'expunge', this.env.messagecount ? true : false);
break;
+
}
request_obj.reset();