summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-19 07:33:32 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2012-01-19 07:33:32 +0000
commitbc333b335dad1454d2d2728b2a3a10464483516e (patch)
tree315b9d90365ac3f266612393d006e7d6084e4be0 /roundcubemail/program/steps
parent6dadf9c23e84b14ac5e73df6e94d4b4bdbc9dacb (diff)
- Fix drafts update issues when edited from preview pane (#1488314)
git-svn-id: https://svn.roundcube.net/trunk@5802 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
-rw-r--r--roundcubemail/program/steps/mail/show.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc
index 29fe650a9..d3b70b4ab 100644
--- a/roundcubemail/program/steps/mail/show.inc
+++ b/roundcubemail/program/steps/mail/show.inc
@@ -52,6 +52,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', $RCMAIL->storage->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');