rem: if (outliner.outlinerBoxObject.selection.count == 1) 
add: if (tree.treeBoxObject.selection.count == 1) 
context: function onImageSelect(){  var outliner = document.getElementById("imageoutliner");  var saveAsButton = document.getElementById("imagesaveasbutton");  if (outliner.outlinerBoxObject.selection.count == 1)  {    makePreview(getSelectedItem(outliner));    saveAsButton.setAttribute("disabled", "false");  } else {    saveAsButton.setAttribute("disabled", "true");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/3e34849f77f94528fe693f9ebabe73999df60035/pageInfo.js/buggy/suite/browser/pageInfo.js