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: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/EdDialogCommon.js/buggy/editor/ui/dialogs/content/EdDialogCommon.js