diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-03-26 07:55:32 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-03-26 07:55:32 +0000 |
| commit | ac53588885c964bc6fe895d841ff690870f7528e (patch) | |
| tree | de4affe969b06b5296014430d77448a0e240d78f /roundcubemail/program/steps | |
| parent | 2fdc35d3b69342d81e6aaee2c2e9db536ba02d6b (diff) | |
Select drafts mailbox when opening a draft message
git-svn-id: https://svn.roundcube.net/trunk@2362 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/compose.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 1b83b1ed4..356b3d943 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -70,8 +70,10 @@ if ($msg_uid = $_SESSION['compose']['param']['_reply_uid']) $compose_mode = RCUBE_COMPOSE_REPLY; else if ($msg_uid = $_SESSION['compose']['param']['_forward_uid']) $compose_mode = RCUBE_COMPOSE_FORWARD; -else if ($msg_uid = $_SESSION['compose']['param']['_draft_uid']) +else if ($msg_uid = $_SESSION['compose']['param']['_draft_uid']) { + $RCMAIl->imap->set_mailbox($CONFIG['drafts_mbox']); $compose_mode = RCUBE_COMPOSE_DRAFT; +} if (!empty($msg_uid)) { |
