rem: if (inCell) {  InitJoinCellMenuitem("joinTableCells_cm"); 
add:  InitJoinCellMenuitem("joinTableCells_cm"); 
context: function EditorFillContextMenu(event, contextMenuNode){  if ( event.target != contextMenuNode )    return;  // Setup object property menuitem  var objectName = InitObjectPropertiesMenuitem("objectProperties_cm");  InitRemoveStylesMenuitems("removeStylesMenuitem_cm", "removeLinksMenuitem_cm");  var inCell = IsInTableCell();  if (inCell)  {    // Set appropriate text for join cells command    InitJoinCellMenuitem("joinTableCells_cm");    // If displaying cell commands,    //   these are the only commands that need enable/disabling    goUpdateCommand("cmd_JoinTableCells");    goUpdateCommand("cmd_SplitTableCell");    goUpdateCommand("cmd_TableOrCellColor");  }  // Loop through all children to hide disabled items  var children = contextMenuNode.childNodes;  if (children)  {    var count = children.length;    for (var i = 0; i < count; i++)      HideDisabledItem(children.item(i));  }  // Remove separators if all items in immediate group above are hidden  // A bit complicated to account if multiple groups are completely hidden!  var haveUndo =     IsMenuItemShowing("menu_undo_cm") ||    IsMenuItemShowing("menu_redo_cm");  var haveEdit =     IsMenuItemShowing("menu_cut_cm")   ||		IsMenuItemShowing("menu_copy_cm")  ||		IsMenuItemShowing("menu_paste_cm") ||		IsMenuItemShowing("menu_delete_cm");  var haveStyle =     IsMenuItemShowing("removeStylesMenuitem_cm") ||    IsMenuItemShowing("createLink_cm") ||    IsMenuItemShowing("removeLinksMenuitem_cm");  var haveProps = IsMenuItemShowing("objectProperties_cm");  ShowMenuItem("undoredo-separator", haveUndo && haveEdit);  ShowMenuItem("edit-separator", haveEdit || !haveUndo);	               // Note: Item "menu_selectAll_cm" and   // folowing separator are ALWAYS enabled,  // so there will always be 1 separator here  ShowMenuItem("styles-separator", haveStyle && (haveProps || inCell));  ShowMenuItem("property-separator", (haveProps && inCell) || !haveStyle);  // Remove table submenus if not in table  ShowMenuItem("tableInsertMenu_cm",  inCell);  ShowMenuItem("tableSelectMenu_cm",  inCell);  ShowMenuItem("tableDeleteMenu_cm",  inCell);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ac8f8cdc5a12cf45af0644ba140db853faaec07b/EditorContextMenu.js/buggy/editor/ui/composer/content/EditorContextMenu.js