Roo/htmleditor/BlockTd.js
authorAlan <alan@roojs.com>
Thu, 23 Dec 2021 07:50:02 +0000 (15:50 +0800)
committerAlan <alan@roojs.com>
Thu, 23 Dec 2021 07:50:02 +0000 (15:50 +0800)
Roo/htmleditor/BlockTd.js

index 6981939..26bf190 100644 (file)
@@ -389,7 +389,7 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
         var cd = this.cellData;
         for(var r = cd.row; r < cd.row + cd.rowspan; r++) {
             for(var c = cd.col; r < cd.col+ cd.colspan; c++) {
-                if (r == cd.row && c == cd.cell) {
+                if (r == cd.row && c == cd.col) {
                     this.node.setAttribute('rowspan',this.rowspan);
                     this.node.setAttribute('colspan',this.colspan);
                     continue;