rem: if (node.getAttribute('folder') == 'true') { 
add: if (node.getAttribute('container') == 'true') { 
context: function PreviewPanel() {  var tree = document.getElementById('other-panels');  var database = tree.database;  var select_list = tree.selectedItems  for (var nodeIndex=0; nodeIndex<select_list.length; nodeIndex++) {    var node = select_list[nodeIndex];    if (!node)    break;    // Skip folders    if (node.getAttribute('folder') == 'true') {      continue;    }    var id = node.getAttribute("id");    if (!id)      break;    var rdfNode = RDF.GetResource(id);    if (!rdfNode) break;    var preview_name = getAttr(database, rdfNode, 'title');    var preview_URL  = getAttr(database, rdfNode, 'content');    if (!preview_URL || !preview_name) break;    var preview = window.open("chrome://sidebar/content/preview.xul",                              "_blank", "chrome,resizable");    preview.panel_name = preview_name;    preview.panel_URL = preview_URL;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/43524854407f2eb2e70eed63c37d270ade1b0379/customize.js/buggy/suite/common/sidebar/customize.js