diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-12-25 10:33:06 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-12-25 10:33:06 +0100 |
commit | da5fa28d5705ab2b9991f39741f2a8f1751a25ad (patch) | |
tree | 8a9ae216a1cd75ae91c7e86342896002c0ee5c70 /program/js | |
parent | 772bec6789ed4c6ee460577fd567717fac1250d4 (diff) |
Display different icons when Trash folder is empty or full (#1485775)
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js index 2438ff959..e6cc28110 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -6459,6 +6459,12 @@ function rcube_webmail() this.env.quota_content = content; }; + // update trash folder state + this.set_trash_count = function(count) + { + this[(count ? 'un' : '') + 'mark_folder'](this.env.trash_mailbox, 'empty', '', true); + }; + // update the mailboxlist this.set_unread_count = function(mbox, count, set_title, mark) { |