context: function enableButtonsForOtherPanels(){  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.setAttribute('disabled','');    preview_button.setAttribute('disabled','');  }  else {    add_button.setAttribute('disabled','true');    preview_button.setAttribute('disabled','true');  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/43ff2dd1ab1adec6a9efda834ffb380c79b087ed/customize.js/clean/suite/common/sidebar/customize.js