|
|
@ -32,6 +32,7 @@ if ($RCMAIL->action=='expunge' && ($mbox = get_input_value('_mbox', RCUBE_INPUT_
|
|
|
|
// reload message list if current mailbox
|
|
|
|
// reload message list if current mailbox
|
|
|
|
if ($success && !empty($_REQUEST['_reload']))
|
|
|
|
if ($success && !empty($_REQUEST['_reload']))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
$OUTPUT->command('set_quota', rcmail_quota_content());
|
|
|
|
$OUTPUT->command('message_list.clear');
|
|
|
|
$OUTPUT->command('message_list.clear');
|
|
|
|
$RCMAIL->action = 'list';
|
|
|
|
$RCMAIL->action = 'list';
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -60,6 +61,7 @@ else if ($RCMAIL->action=='purge' && ($mbox = get_input_value('_mbox', RCUBE_INP
|
|
|
|
$OUTPUT->command('message_list.clear');
|
|
|
|
$OUTPUT->command('message_list.clear');
|
|
|
|
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text());
|
|
|
|
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text());
|
|
|
|
$OUTPUT->command('set_unread_count', $mbox_name, 0);
|
|
|
|
$OUTPUT->command('set_unread_count', $mbox_name, 0);
|
|
|
|
|
|
|
|
$OUTPUT->command('set_quota', rcmail_quota_content());
|
|
|
|
$_SESSION['unseen_count'][$mbox_name] = 0;
|
|
|
|
$_SESSION['unseen_count'][$mbox_name] = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|