rem:      var menuText;   var tagNameObj = new Object; var countObj = new Object; if (window.editorShell.GetSelectedOrParentTableElement(tagNameObj, countObj) && countObj.value > 1) menuText = GetString("JoinSelectedCells"); else menuText = GetString("JoinCellToRight");  document.getElementById("menu_JoinTableCells").setAttribute("value",menuText); document.getElementById("menu_JoinTableCells").setAttribute("accesskey","j"); 
add: InitJoinCellMenuitem("menu_JoinTableCells"); 
context: function EditorInitTableMenu(){  // Change text on the "Join..." item depending if we  //   are joining selected cells or just cell to right  // TODO: What to do about normal selection that crosses  //       table border? Try to figure out all cells  //       included in the selection?  var menuText;  // Use "Join selected cells if there's more than 1 cell selected  var tagNameObj = new Object;  var countObj = new Object;  if (window.editorShell.GetSelectedOrParentTableElement(tagNameObj, countObj) && countObj.value > 1)    menuText = GetString("JoinSelectedCells");  else    menuText = GetString("JoinCellToRight");  document.getElementById("menu_JoinTableCells").setAttribute("value",menuText);  document.getElementById("menu_JoinTableCells").setAttribute("accesskey","j");  // Set enable states for all table commands  goUpdateTableMenuItems(document.getElementById("composerTableMenuItems"));}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/5986ab59396a3071965154ed4499fa5a734750cd/editor.js/clean/editor/ui/composer/content/editor.js