From 68d3aada14af4a17ec1f345713d75ab0b4343be8 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 19 Jan 2012 07:32:08 +0000 Subject: - Fix drafts update issues when edited from preview pane (#1488314) --- program/steps/mail/show.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'program') diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index d928cfd68..eeafabdeb 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -49,6 +49,9 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) { $OUTPUT->set_env('permaurl', rcmail_url('show', array('_uid' => $MESSAGE->uid, '_mbox' => $mbox_name))); $OUTPUT->set_env('delimiter', $IMAP->get_hierarchy_delimiter()); $OUTPUT->set_env('mailbox', $mbox_name); + if ($CONFIG['drafts_mbox']) { + $OUTPUT->set_env('drafts_mailbox', $CONFIG['drafts_mbox']); + } // mimetypes supported by the browser (default settings) $mimetypes = $RCMAIL->config->get('client_mimetypes', 'text/plain,text/html,text/xml,image/jpeg,image/gif,image/png,application/x-javascript,application/pdf,application/x-shockwave-flash'); -- cgit v1.2.3