diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-02 19:48:27 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-02 19:48:27 +0000 |
| commit | 8de735324b61814b8f8919a822c81482b3876fc6 (patch) | |
| tree | c5077363bf7770170ef201ea1604d85daac14a42 /roundcubemail/program | |
| parent | 657c10389087debe09460619f74426cd4dba8ce6 (diff) | |
fixed r1237 commit
git-svn-id: https://svn.roundcube.net/trunk@1239 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
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(); |
