summaryrefslogtreecommitdiff
path: root/program/steps/mail/move_del.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-04-07 17:58:20 +0000
committeralecpl <alec@alec.pl>2008-04-07 17:58:20 +0000
commitd41d67add6d2bc226544148730928ca31a2c4313 (patch)
tree7df6d568394e3592821fd88427453d72c96cbf71 /program/steps/mail/move_del.inc
parente7886405d89806e79940976e6a8faad0374bb6be (diff)
- better commands enabling/disabling after get/post response, fixes:
when delete last (selected) message in mailbox content in preview pane should be cleaned, when delete last (selected) message in mailbox sellect-all, purge and others commands should be disabled, and probably other related bugs
Diffstat (limited to 'program/steps/mail/move_del.inc')
-rw-r--r--program/steps/mail/move_del.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc
index b6ec20773..3bc644f49 100644
--- a/program/steps/mail/move_del.inc
+++ b/program/steps/mail/move_del.inc
@@ -80,6 +80,7 @@ if ($IMAP->list_page > 1 && $nextpage_count <= 0 && $remaining == 0)
// update message count display
$OUTPUT->set_env('pagecount', $pages);
+$OUTPUT->set_env('messagecount', $msg_count);
$OUTPUT->set_env('current_page', $IMAP->list_page);
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($msg_count));