rem: var folderNameCol = document.getElementById("folderNameCol"); var showColumns = pref.getBoolPref("mail.showFolderPaneColumns"); var folderUnreadCol = document.getElementById("folderUnreadCol"); var folderColumnLabel = document.getElementById("folderColumnLabel"); if (!showColumns) { var folderTotalCol = document.getElementById("folderTotalCol"); var folderSizeCol = document.getElementById("folderSizeCol"); folderUnreadCol.setAttribute("hidden", "true"); folderTotalCol.setAttribute("hidden", "true"); folderSizeCol.setAttribute("hidden", "true"); folderNameCol.removeAttribute("label"); } else { folderNameCol.setAttribute("label", folderColumnLabel.value); } 
add: var folderNameCol = document.getElementById("folderNameCol"); var showColumns = pref.getBoolPref("mail.showFolderPaneColumns"); var folderUnreadCol = document.getElementById("folderUnreadCol"); var folderColumnLabel = document.getElementById("folderColumnLabel"); if (!showColumns) { var folderTotalCol = document.getElementById("folderTotalCol"); var folderSizeCol = document.getElementById("folderSizeCol"); folderUnreadCol.setAttribute("hidden", "true"); folderTotalCol.setAttribute("hidden", "true"); folderSizeCol.setAttribute("hidden", "true"); folderNameCol.removeAttribute("label"); } else { folderNameCol.setAttribute("label", folderColumnLabel.value); } 
context: function UpdateFolderColumnVisibility(){    var folderNameCol = document.getElementById("folderNameCol");    var showColumns = pref.getBoolPref("mail.showFolderPaneColumns");    var folderUnreadCol = document.getElementById("folderUnreadCol");     var folderColumnLabel = document.getElementById("folderColumnLabel");    if (!showColumns)    {      var folderTotalCol = document.getElementById("folderTotalCol");      var folderSizeCol = document.getElementById("folderSizeCol");      folderUnreadCol.setAttribute("hidden", "true");      folderTotalCol.setAttribute("hidden", "true");      folderSizeCol.setAttribute("hidden", "true");      folderNameCol.removeAttribute("label");    }    else    {      folderNameCol.setAttribute("label", folderColumnLabel.value);    }    folderNameCol.setAttribute("hideheader", showColumns ? "false" : "true");    var folderPaneHeader = document.getElementById("folderPaneHeader");    folderPaneHeader.setAttribute("hidden", showColumns ? "true" : "false");    var folderTree = document.getElementById("folderTree");    folderTree.setAttribute("hidecolumnpicker", showColumns ? "false" : "true");    var hidden = folderUnreadCol.getAttribute("hidden");    if (hidden != "true")    {        var folderNameCell = document.getElementById("folderNameCell");        folderNameCell.setAttribute("label", "?folderTreeSimpleName");    }} 
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b6bb0ecf6484efaae610e6386311832c1d7effcf/msgMail3PaneWindow.js/clean/mail/base/content/msgMail3PaneWindow.js