X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-debug.js;h=a422228ee7184383704d5547a20268590b9ec080;hb=4f45c682d674232d0336fb3cfc4de5c27550ba4b;hp=c3670aa971a22b857fdd80ae81126578b3e44e01;hpb=3a4dcb78b070570479456100b482307af0bf77a3;p=roojs1 diff --git a/roojs-debug.js b/roojs-debug.js index c3670aa971..a422228ee7 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -48994,8 +48994,6 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { contextMenu : function(toolbar) { - console.log("htmleditor.BlockTd contextMenu"); - console.log(toolbar); var cell = function() { return Roo.htmleditor.Block.factory(toolbar.tb.selectedNode); @@ -49278,7 +49276,6 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { */ toObject : function() { - console.log("htmleditor.BlockTd toObject"); var ret = { tag : 'td', contenteditable : 'true', // this stops cell selection from picking the table. @@ -49314,8 +49311,6 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { readElement : function(node) { - console.log("htmleditor.BlockTd readElement"); - console.log(node); node = node ? node : this.node ; this.width = node.style.width; this.colspan = Math.max(1,1*node.getAttribute('colspan')); @@ -49348,7 +49343,6 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { toTableArray : function() { - console.log("htmleditor.BlockTd toTableArray"); var ret = []; var tab = this.node.closest('tr').closest('table'); Array.from(tab.rows).forEach(function(r, ri){ @@ -49423,6 +49417,7 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { mergeRight: function() { + console.log("htmleditor.BlockTd mergeRight"); // get the contents of the next cell along.. var tr = this.node.closest('tr'); @@ -49540,6 +49535,9 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { }, updateWidths : function(table) { + console.log("htmleditor.BlockTd updateWidths"); + console.log("TABLE"); + console.log(table); for(var r = 0 ; r < table.length; r++) { for(var c = 0 ; c < table[r].length; c++) { @@ -49548,6 +49546,8 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { } if (this.colWidths[0] != false && table[r][c].colspan < 2) { + console.log("CELL"); + console.log(table[r][c].cell); var el = Roo.htmleditor.Block.factory(table[r][c].cell); el.width = Math.floor(this.colWidths[c]) +'%'; el.updateElement(el.node); @@ -49604,9 +49604,7 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { shrinkColumn : function() { - console.log("htmleditor.BlockTd shrinkColumn"); var table = this.toTableArray(); - console.log(table); this.normalizeWidths(table); var col = this.cellData.col; var nw = this.colWidths[col] * 0.8;