svncommit
2008-05-12 c17991c294c727ad3ff0b4656fd32e2b5f42397a
fix script to show cc/bcc fields

3 files modified
12 ■■■■■ changed files
CHANGELOG 4 ●●●● patch | view | raw | blame | history
program/js/app.js 4 ●●●● patch | view | raw | blame | history
skins/default/templates/compose.html 4 ●●●● patch | view | raw | blame | history
CHANGELOG
@@ -1,6 +1,10 @@
CHANGELOG RoundCube Webmail
---------------------------
2008/05/12 (estadtherr)
----------
- fix JavaScript in compose.html that shows cc/bcc fields if populated
2008/05/12 (alec)
- Updated PEAR::DB package to version 1.7.13
program/js/app.js
@@ -1835,8 +1835,8 @@
    {
    // check input fields
    var input_to = rcube_find_object('_to');
    var input_cc = rcube_find_object('_to');
    var input_bcc = rcube_find_object('_to');
    var input_cc = rcube_find_object('_cc');
    var input_bcc = rcube_find_object('_bcc');
    var input_subject = rcube_find_object('_subject');
    var input_message = rcube_find_object('_message');
    
skins/default/templates/compose.html
@@ -164,10 +164,10 @@
<script type="text/javascript">
<!--
var cc_field = document.form._cc;
var cc_field = document.getElementById('rcmcomposecc');
if (cc_field && cc_field.value!='')
  rcmail_show_header_form('compose-cc', document.getElementById('addcclink'));
var bcc_field = document.form._bcc;
var bcc_field = document.getElementById('rcmcomposebcc');
if (bcc_field && bcc_field.value!='')
  rcmail_show_header_form('compose-bcc', document.getElementById('addbcclink'));