summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-21 18:51:43 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-21 18:51:43 +0200
commit8833432c61ff72d147cc0475074969771852c4b8 (patch)
treee56d00a2e17986da5f34dbc1f2559cf9a9eaa255
parent82ed256f6eeba8dce305f3953aa70681351c9bad (diff)
Fix wrong set-listmode command (button) status set by getunread request
-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 24d1f19e7..19116a55d 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -7170,9 +7170,9 @@ function rcube_webmail()
this.enable_command('purge', this.purge_mailbox_test() && !is_multifolder);
this.enable_command('import-messages', !is_multifolder);
this.enable_command('expand-all', 'expand-unread', 'collapse-all', this.env.threading && this.env.messagecount && !is_multifolder);
- this.enable_command('set-listmode', this.env.threads && !is_multifolder);
if ((response.action == 'list' || response.action == 'search') && this.message_list) {
+ this.enable_command('set-listmode', this.env.threads && !is_multifolder);
this.msglist_select(this.message_list);
this.triggerEvent('listupdate', { folder:this.env.mailbox, rowcount:this.message_list.rowcount });
}