add:  if (node.getAttribute('folder') == 'true') { continue; } 
context: function AddPanel() {  var tree = document.getElementById('other-panels');  var database = tree.database;  var select_list = tree.selectedItems  var isFirstAddition = true;  for (var nodeIndex=0; nodeIndex<select_list.length; nodeIndex++) {    var node = select_list[nodeIndex];    if (!node)    break;    var id = node.getAttribute("id");    if (!id)      break;    var rdfNode = RDF.GetResource(id);    if (!rdfNode) break;    addOption(database, rdfNode, isFirstAddition);    isFirstAddition = false;  }  enableButtons();  enableSave();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1a32cc1c526c53fd9e341d35b5639757bb33402a/customize.js/clean/xpfe/components/sidebar/resources/customize.js