diff options
Diffstat (limited to 'program/js/app.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) { |