rem: if (tree.selectedIndex >= 0 && tree.selectedItems.length > 0 && tree.selectedItems[0] && tree.selectedItems[0].firstChild && tree.selectedItems[0].firstChild.firstChild) { return tree.selectedItems[0].firstChild.firstChild.getAttribute(attr); 
add: if (tree.treeBoxObject.selection.count > 0) { var selectedItem = tree.contentView.getItemAtIndex(tree.currentIndex); if (selectedItem && selectedItem.firstChild && selectedItem.firstChild.firstChild) { return selectedItem.firstChild.firstChild.getAttribute(attr); } 
context: function GetSelectedTreelistAttribute(tree, attr){  if (tree)  {    if (tree.selectedIndex >= 0 &&        tree.selectedItems.length > 0 &&        tree.selectedItems[0] &&        tree.selectedItems[0].firstChild &&        tree.selectedItems[0].firstChild.firstChild)    {      return tree.selectedItems[0].firstChild.firstChild.getAttribute(attr);    }  }  return "";}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d38a0937d9c93a0a9d913e2ac781e4328bb8cc73/EdDialogCommon.js/clean/editor/ui/dialogs/content/EdDialogCommon.js