rem: propertiesMenu.removeAttribute("hidden"); propertiesMenu.removeAttribute("disabled"); 
add: menuItem.removeAttribute("hidden"); menuItem.removeAttribute("disabled"); 
context: function EditorInitFormatMenu(){  var propertiesMenu = document.getElementById("objectProperties");  if (propertiesMenu)  {    var element = GetSelectedElementOrParentCell();    if (element)    {      dump("TagName="+element.nodeName+"\n");      if (element.nodeName)      {        propertiesMenu.removeAttribute("hidden");        propertiesMenu.removeAttribute("disabled");        var objStr;        var menuStr = editorShell.GetString("ObjectProperties");        switch (element.nodeName)        {          case 'IMG':            objStr = editorShell.GetString("Image");            break;          case 'HR':            objStr = editorShell.GetString("HLine");            break;          case 'TABLE':            objStr = editorShell.GetString("Table");//TEMP FOR BETA1: Disable item - dialog not working            propertiesMenu.setAttribute("disabled", "true")            break;          case 'TD'://TEMP FOR BETA1: Disable item - dialog not working            propertiesMenu.setAttribute("disabled", "true")            objStr = editorShell.GetString("TableCell");            break;          case 'A':            if(element.href)              objStr = editorShell.GetString("Link");            else if (element.name)              objStr = editorShell.GetString("NamedAnchor");            break;        }        menuStr = menuStr.replace(/%obj%/,objStr);                propertiesMenu.setAttribute("value", menuStr)      }    } else {      // No element to set properties on - hide menu item      propertiesMenu.setAttribute("hidden","true");    }  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/2b34b49a022263caa641dc5083239be58bde91c8/EditorCommands.js/clean/editor/ui/composer/content/EditorCommands.js