summaryrefslogtreecommitdiff
path: root/skins/default/templates/compose.html
diff options
context:
space:
mode:
Diffstat (limited to 'skins/default/templates/compose.html')
-rw-r--r--skins/default/templates/compose.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html
index dd392bdda..aa28098c8 100644
--- a/skins/default/templates/compose.html
+++ b/skins/default/templates/compose.html
@@ -105,6 +105,16 @@ function rcmail_toggle_display(id)
<roundcube:object name="composeAttachmentForm" id="attachment-form" />
+<script type="text/javascript">
+<!--
+
+var cc_field = document.form._cc;
+if (cc_field && cc_field.value!='')
+ rcmail_toggle_display('compose-cc');
+
+//-->
+</script>
+
<!--
<div id="attachment-form">
<roundcube:object name="composeAttachment" size="20" /><br />