summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-12-20 09:39:09 +0000
committerrobin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c>2006-12-20 09:39:09 +0000
commit10ea67e3ea3a028d0879096f29bc01e6997d54ae (patch)
tree766eafaad38ec2834a0a1d8d3b935f7e18a86cc6
parent17802cb62868be19bb2daa420e98c5e3c776d098 (diff)
Save Bcc recipients in draft message.
git-svn-id: https://svn.roundcube.net/trunk@417 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/compose.inc3
-rw-r--r--roundcubemail/skins/default/templates/compose.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index e671b4c2a..ddc8610b1 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/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/roundcubemail/skins/default/templates/compose.html b/roundcubemail/skins/default/templates/compose.html
index f2bfc1dc4..3c8348843 100644
--- a/roundcubemail/skins/default/templates/compose.html
+++ b/roundcubemail/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>