X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Roo%2Fhtmleditor%2FBlockTd.js;h=f7b3efa3679cb24e8059ddce4d33e853fd7e3a7a;hb=9ef336855a164e5e023444c43bb84b283273fa39;hp=7c582bd842887dd086abc6ba01c974b6746de4e1;hpb=bae7d3cbbf4e1f2a0f7f16154026820b556d9367;p=roojs1 diff --git a/Roo/htmleditor/BlockTd.js b/Roo/htmleditor/BlockTd.js index 7c582bd842..f7b3efa367 100644 --- a/Roo/htmleditor/BlockTd.js +++ b/Roo/htmleditor/BlockTd.js @@ -444,6 +444,8 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { if (typeof(this.colWidths[cn]) == 'undefined') { this.colWidths[cn] = ce.style.width; + console.log("colWidths " + cn); + console.log(ce.style.width); if (this.colWidths[cn] != '') { all_auto = false; } @@ -486,6 +488,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'); @@ -622,7 +625,10 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { normalizeWidths : function(table) { console.log("htmleditor.BlockTd normalizeWidths"); - console.log(this.colWidths); + console.log("colWidths 0"); + console.log(this.colWidths[0]); + console.log("colWidths 1"); + console.log(this.colWidths[1]); if (this.colWidths[0] === false) { var nw = 100.0 / this.colWidths.length; @@ -691,7 +697,9 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { }, growColumn : function() { + console.log("htmleditor.BlockTd growColumn"); var table = this.toTableArray(); + console.log(table); this.normalizeWidths(table); var col = this.cellData.col; var nw = this.colWidths[col] * 1.2;