diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-02-12 11:41:17 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-02-12 11:41:17 +0000 |
| commit | 2442c83b7091ea94b2f1108838293f9c37586084 (patch) | |
| tree | 34103cd8d0812a028c7a6dbd85e6dd7c7ad1689c | |
| parent | 27d8b5f8cf6d8155858e1c2b4fdb6bf6244c8651 (diff) | |
- Fix quota indicator value after folder purge/expunge (#1486488)
git-svn-id: https://svn.roundcube.net/trunk@3266 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/CHANGELOG | 1 | ||||
| -rw-r--r-- | roundcubemail/program/steps/mail/folders.inc | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/CHANGELOG b/roundcubemail/CHANGELOG index 2480ff846..8cb6822d7 100644 --- a/roundcubemail/CHANGELOG +++ b/roundcubemail/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG RoundCube Webmail =========================== +- Fix quota indicator value after folder purge/expunge (#1486488) - Fix external mailto links support for use as protocol handler (#1486037) - Fix attachment excessive memory use, support messages of any size (#1484660) - Fix setting task name according to auth state diff --git a/roundcubemail/program/steps/mail/folders.inc b/roundcubemail/program/steps/mail/folders.inc index 73d4ae8c4..a4d71d2c0 100644 --- a/roundcubemail/program/steps/mail/folders.inc +++ b/roundcubemail/program/steps/mail/folders.inc @@ -32,6 +32,7 @@ if ($RCMAIL->action=='expunge' && ($mbox = get_input_value('_mbox', RCUBE_INPUT_ // reload message list if current mailbox if ($success && !empty($_REQUEST['_reload'])) { + $OUTPUT->command('set_quota', rcmail_quota_content()); $OUTPUT->command('message_list.clear'); $RCMAIL->action = 'list'; return; @@ -60,6 +61,7 @@ else if ($RCMAIL->action=='purge' && ($mbox = get_input_value('_mbox', RCUBE_INP $OUTPUT->command('message_list.clear'); $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text()); $OUTPUT->command('set_unread_count', $mbox_name, 0); + $OUTPUT->command('set_quota', rcmail_quota_content()); $_SESSION['unseen_count'][$mbox_name] = 0; } else |
