summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorrichs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-06-19 19:04:51 +0000
committerrichs <richs@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-06-19 19:04:51 +0000
commiteb842e0f7067d7b1fb117b8ff0498c3ce527602c (patch)
treec5f0836d53863218b4fed2d97e10443c8924bb4f /roundcubemail/program/steps/mail/func.inc
parent809885b2199a332c4bd5458da84f377bc764bd42 (diff)
Added Drafts support (Feature #1326839) (richs)
git-svn-id: https://svn.roundcube.net/trunk@261 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/func.inc')
-rw-r--r--roundcubemail/program/steps/mail/func.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc
index 1be690a0b..8eff11c06 100644
--- a/roundcubemail/program/steps/mail/func.inc
+++ b/roundcubemail/program/steps/mail/func.inc
@@ -64,6 +64,9 @@ $OUTPUT->add_script(sprintf("%s.set_env('mailbox', '%s');", $JS_OBJECT_NAME, $IM
if ($CONFIG['trash_mbox'])
$OUTPUT->add_script(sprintf("%s.set_env('trash_mailbox', '%s');", $JS_OBJECT_NAME, $CONFIG['trash_mbox']));
+if ($CONFIG['drafts_mbox'])
+ $OUTPUT->add_script(sprintf("%s.set_env('drafts_mailbox', '%s');", $JS_OBJECT_NAME, $CONFIG['drafts_mbox']));
+
// return the mailboxlist in HTML
@@ -1484,4 +1487,4 @@ function rcmail_compose_cleanup()
}
-?> \ No newline at end of file
+?>