rem: if (window.editorShell && window.editorShell.documentEditable) { var tagNameObj = new Object; var countObj = new Object; var cell = window.editorShell.GetSelectedOrParentTableElement(tagNameObj, countObj);   if ( cell && (tagNameObj.value == "td") && countObj.value <= 1 && IsSelectionInOneCell() ) { var colSpan = cell.getAttribute("colspan"); var rowSpan = cell.getAttribute("colspan"); if (!colSpan) colSpan = 1; if (!rowSpan) rowSpan = 1; return (colSpan > 1  || rowSpan > 1 || colSpan == 0 || rowSpan == 0); } } return false; 
add: return IsInTable(); 
context:   isCommandEnabled: function(aCommand, dummy)  {    if (window.editorShell && window.editorShell.documentEditable)    {      var tagNameObj = new Object;      var countObj = new Object;      var cell = window.editorShell.GetSelectedOrParentTableElement(tagNameObj, countObj);      // We need a cell parent and there's just 1 selected cell       // or selection is entirely inside 1 cell      if ( cell && (tagNameObj.value == "td") &&            countObj.value <= 1 &&           IsSelectionInOneCell() )      {        var colSpan = cell.getAttribute("colspan");        var rowSpan = cell.getAttribute("colspan");        if (!colSpan) colSpan = 1;        if (!rowSpan) rowSpan = 1;        return (colSpan > 1  || rowSpan > 1 ||                colSpan == 0 || rowSpan == 0);      }    }    return false;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/479cdf9bee53a626b49edd03f09f338a47d8ca5b/ComposerCommands.js/buggy/editor/ui/composer/content/ComposerCommands.js