add: debug("num_selected="+num_selected); 
context: function enable_buttons_for_other_panels(){  var add_button = document.getElementById('add_button');  var preview_button = document.getElementById('preview_button');  var all_panels = document.getElementById('other-panels');  var num_selected = 0;  // Only count non-folders as selected for button enabling  for (var ii=0; ii<all_panels.selectedItems.length; ii++) {    var node = all_panels.selectedItems[ii];    if (node.getAttribute('container') != 'true') {      num_selected++;    }  }  if (num_selected > 0) {    add_button.removeAttribute('disabled');    preview_button.removeAttribute('disabled');  }  else {    add_button.setAttribute('disabled','true');    preview_button.setAttribute('disabled','true');  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e2f9beb2dac6758854aef74c393a9b8b892c3a3b/customize.js/buggy/xpfe/components/sidebar/resources/customize.js