summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-03 06:36:35 +0000
committeralecpl <alec@alec.pl>2008-10-03 06:36:35 +0000
commitcf6a833c95a341c1eada992ed09afc650493fdaa (patch)
tree8b6dc410e4f843207e540e41d2348de76dfccc4f /program/steps/mail
parent2483a886ac672b6263d468009f01dbc8a96b29f0 (diff)
- fix "Back to message list" button (#1485440)
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/compose.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 15d26a260..8f4bc9f9b 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -85,7 +85,8 @@ rcube_add_label('nosubject', 'nosenderwarning', 'norecipientwarning', 'nosubject
// 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'])