From 8de735324b61814b8f8919a822c81482b3876fc6 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 2 Apr 2008 19:48:27 +0000 Subject: fixed r1237 commit git-svn-id: https://svn.roundcube.net/trunk@1239 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 46a79659d..94b329d65 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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(); -- cgit v1.2.3