rem: current_panels.treeBoxObject.selection.clearSelection(); 
add: current_panels.view.selection.clearSelection(); 
context: function ClickOnOtherPanels(event){  var tree = document.getElementById("other-panels");    var rowIndex = -1;  if (event.type == "click" && event.button == 0) {    var row = {}, col = {}, obj = {};    var b = tree.treeBoxObject;    b.getCellAt(event.clientX, event.clientY, row, col, obj);    if (obj.value == "twisty" || event.detail == 2) {      rowIndex = row.value;    }  }  if (rowIndex < 0) return;    var treeitem = tree.contentView.getItemAtIndex(rowIndex);  var res = RDF.GetResource(treeitem.id);    if (treeitem.getAttribute('container') == 'true') {    if (treeitem.getAttribute('open') == 'true') {      var link = treeitem.getAttribute('link');      var loaded_link = treeitem.getAttribute('loaded_link');      if (link != '' && !loaded_link) {        debug("Has remote datasource: "+link);        add_datasource_to_other_panels(link);        treeitem.setAttribute('loaded_link', 'true');      } else {        setTimeout('fixup_children("'+ treeitem.getAttribute('id') +'")', 100);      }    }  }  // Remove the selection in the "current" panels list  var current_panels = document.getElementById('current-panels');  current_panels.treeBoxObject.selection.clearSelection();  enable_buttons_for_current_panels();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/acd11e98e23905f5fbd6c9a3f6be22ba384c2058/customize.js/clean/xpfe/components/sidebar/resources/customize.js