rem: currentObject = globalArray[parseInt(selection[0].getAttribute("index"))]; 
add: currentObject = globalArray[parseInt(selectedItem.getAttribute("index"))]; 
context: function onTreeSelect(event){  if (currentObject)    currentObject.onBlur();  var selection = gDialog.tree.selectedItems;  if (selection.length)  {    currentObject = globalArray[parseInt(selection[0].getAttribute("index"))];    currentObject.onFocus();  }  else    currentObject = gDialog;  gDialog.removeButton.disabled = !currentObject.canDestroy(false);  gDialog.previousButton.disabled = !currentObject.canMoveUp();  gDialog.nextButton.disabled = !currentObject.canMoveDown();  globalElement = currentObject.element;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/EdSelectProps.js/clean/editor/ui/dialogs/content/EdSelectProps.js