rem: if (target.getAttribute('container') == 'true') { if (target.getAttribute('open') == 'true') { target.removeAttribute('open'); } else { target.setAttribute('open','true'); } return; } enableButtonsForOtherPanels(); 
add: 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); addDatasourceToOtherPanels(link); target.setAttribute('container', 'true'); target.setAttribute('open', 'true'); } enableButtonsForOtherPanels(); } 
context: function SelectChangeForOtherPanels(event, target){  // Remove the selection in the "current" panels list var current_panels = document.getElementById('current-panels'); current_panels.clearItemSelection(); enableButtonsForCurrentPanels(); if (target.getAttribute('container') == 'true') {   if (target.getAttribute('open') == 'true') {     target.removeAttribute('open');   } else {     target.setAttribute('open','true');   }   return; } enableButtonsForOtherPanels();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/43ff2dd1ab1adec6a9efda834ffb380c79b087ed/customize.js/buggy/suite/common/sidebar/customize.js