X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=4df34cea14a440d82040de94cd617980392366d3;hb=4f45c682d674232d0336fb3cfc4de5c27550ba4b;hp=8a1b73e8983bcf9f2cf8d4b5852f9316903e9320;hpb=128681b3d500e37c7015882c6ba5060b6237b550;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 8a1b73e898..4df34cea14 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -24502,8 +24502,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); @@ -24786,7 +24784,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. @@ -24822,8 +24819,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')); @@ -24930,6 +24925,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'); @@ -25047,6 +25043,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++) { @@ -25055,6 +25054,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);