rem: commandID == "cmd_NormalizeTable") 
add: commandID == "cmd_NormalizeTable" || commandID == "cmd_TableOrCellColor") 
context: function goUpdateTableMenuItems(commandset){  var enabled = false;   var enabledIfTable = false;  if (window.editorShell && window.editorShell.documentEditable)  {    var selectedCountObj = new Object();    var tagNameObj = new Object();    var element = editorShell.GetSelectedOrParentTableElement(tagNameObj, selectedCountObj);      if (element)    {      // Value when we need to have a selected table or inside a table      enabledIfTable = true;        // All others require being inside a cell or selected cell      enabled = (tagNameObj.value == "td");    }  }  // Loop through command nodes  for (var i = 0; i < commandset.childNodes.length; i++)  {    var commandID = commandset.childNodes[i].getAttribute("id");    if (commandID)    {      if (commandID == "cmd_InsertTable" ||          commandID == "cmd_tableJoinCells" ||          commandID == "cmd_tableSplitCell")      {        // Call the update method in the command class        goUpdateCommand(commandID);      }       // Directly set with the values calculated here      else if (commandID == "cmd_DeleteTable" ||               commandID == "cmd_NormalizeTable")      {        goSetCommandEnabled(commandID, enabledIfTable);      } else {        goSetCommandEnabled(commandID, enabled);      }    }  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a5251f332c87fd9e4ff4b0be42e6023fb7836eb3/editor.js/buggy/editor/ui/composer/content/editor.js