summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>