rem: tree.selectedItems.length > 0 && tree.selectedItems[0] && 
add: tree.selectedItems.length > 0 && tree.selectedItems[0] && 
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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eaa6754a0a946375badf1165b3e4af3999e4b03c/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js