rem:  var current_panels = document.getElementById('current-panels'); current_panels.clearItemSelection(); enable_buttons_for_current_panels();  if (target.getAttribute('container') == 'true') { if (target.getAttribute('open') == 'true') { target.removeAttribute('open'); } else { target.setAttribute('open','true'); } } else { link = target.getAttribute('link'); if (link && link != '') { debug("Has remote datasource: "+link); add_datasource_to_other_panels(link); target.setAttribute('container', 'true'); target.setAttribute('open', 'true'); } } 
context: function SelectChangeForOtherPanels(event, target){   // Remove the selection in the "current" panels list  var current_panels = document.getElementById('current-panels');  current_panels.clearItemSelection();  enable_buttons_for_current_panels();  if (target.getAttribute('container') == 'true') {    if (target.getAttribute('open') == 'true') {      target.removeAttribute('open');    } else {      target.setAttribute('open','true');    }  } else {    link = target.getAttribute('link');    if (link && link != '') {      debug("Has remote datasource: "+link);      add_datasource_to_other_panels(link);      target.setAttribute('container', 'true');      target.setAttribute('open', 'true');    }  }  enable_buttons_for_other_panels();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e2f9beb2dac6758854aef74c393a9b8b892c3a3b/customize.js/buggy/xpfe/components/sidebar/resources/customize.js