thomascube
2011-08-13 a02cfa9b085fc875fc55f57029a8e5846771ed5e
skins/default/functions.js
@@ -49,7 +49,7 @@
    // create a tab
    a   = $('<a>').text(legend.text()).attr('href', '#');
    tab = $('<span>').attr({'id': 'tab'+idx, 'class': 'tablink'})
        .click(function() { return rcube_show_tab(id, idx); })
        .click(function() { rcube_show_tab(id, idx); return false })
    // remove legend
    legend.remove();
@@ -67,7 +67,7 @@
function rcube_show_tab(id, index)
{
  var content = document.getElementById(id),
    fs = $('fieldset', content);
    fs = $('fieldset', content).not('fieldset > fieldset');
  fs.each(function(idx) {
    // Show/hide fieldset (tab content)
@@ -353,7 +353,7 @@
/* Message composing */
init_compose_form: function()
{
  var f, field, fields = ['cc', 'bcc', 'replyto', 'mailreplyto', 'mailfollowupto'],
  var f, field, fields = ['cc', 'bcc', 'replyto', 'followupto'],
    div = document.getElementById('compose-div'),
    headers_div = document.getElementById('compose-headers-div');