From cf6a833c95a341c1eada992ed09afc650493fdaa Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Fri, 03 Oct 2008 02:36:35 -0400 Subject: [PATCH] - fix "Back to message list" button (#1485440) --- program/steps/mail/compose.inc | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index 15d26a2..8f4bc9f 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -85,7 +85,8 @@ // add config parameter to client script $OUTPUT->set_env('draft_autosave', !empty($CONFIG['drafts_mbox']) ? $CONFIG['draft_autosave'] : 0); - +// set current mailbox in client environment +$OUTPUT->set_env('mailbox', $IMAP->get_mailbox_name()); // get reference message and set compose mode if ($msg_uid = $_SESSION['compose']['param']['_reply_uid']) -- Gitblit v1.9.1