summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-12-20 09:39:09 +0000
committersvncommit <devs@roundcube.net>2006-12-20 09:39:09 +0000
commit4627992b13e97e19537dea8d7323dba616956c81 (patch)
treee28b4375140d9c7e4c73223fe9b22578f08431c5
parent5f9bfae8a2dfc505372b21e94198386925fc5fad (diff)
Save Bcc recipients in draft message.
-rw-r--r--program/steps/mail/compose.inc3
-rw-r--r--skins/default/templates/compose.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index e671b4c2a..ddc8610b1 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -150,7 +150,10 @@ function rcmail_compose_headers($attrib)
}
case 'bcc':
if (!$fname)
+ {
$fname = '_bcc';
+ $header = 'bcc';
+ }
$allow_attrib = array('id', 'class', 'style', 'cols', 'rows', 'wrap', 'tabindex');
$field_type = 'textarea';
diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html
index f2bfc1dc4..3c8348843 100644
--- a/skins/default/templates/compose.html
+++ b/skins/default/templates/compose.html
@@ -135,6 +135,9 @@ function rcmail_toggle_display(id)
var cc_field = document.form._cc;
if (cc_field && cc_field.value!='')
rcmail_toggle_display('compose-cc');
+var bcc_field = document.form._bcc;
+if (bcc_field && bcc_field.value!='')
+ rcmail_toggle_display('compose-bcc');
//-->
</script>