rem: if (node.getAttribute('folder') == 'true') { 
add: if (node.getAttribute('container') == 'true') { 
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;    // Skip folders.    if (node.getAttribute('folder') == 'true') {      continue;    }    var id = node.getAttribute("id");    // No id? Sorry. Only nodes with id's can get    // in the current panel list.    if (!id)      break;    var rdfNode = RDF.GetResource(id);    // You need an rdf node too. Sorry, those are the rules.    if (!rdfNode) break;    // Add the panel to the current list.    // Pass "isFirstAddition" because only the first panel in a     // group of additions will get selected.    addNodeToCurrentList(database, rdfNode, isFirstAddition);    isFirstAddition = false;  }  // Remove the selection in the other list.  // Selection will move to "current" list.  var all_panels = document.getElementById('other-panels');  all_panels.clearItemSelection();  enableButtonsForCurrentPanels();  enableButtonsForOtherPanels();  enableSave();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/495843694522dd847cd93d88cd457edb5fcc9947/customize.js/clean/suite/common/sidebar/customize.js