X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-ui-debug.js;h=32057dd1d3b4c82df591a9b4d8fde903abbee9f9;hb=6aeeaffae07719f56919487d31937794d442eff4;hp=2afb8d498849c3f070ef719f1bf18d7c144a4ed2;hpb=e7660d5f55d29f66de983e988d261615d20e2976;p=roojs1 diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 2afb8d4988..32057dd1d3 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -24502,6 +24502,8 @@ 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); @@ -24854,6 +24856,7 @@ 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){ @@ -24886,6 +24889,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; } @@ -24928,6 +24933,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'); @@ -25063,6 +25069,11 @@ Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, { }, normalizeWidths : function(table) { + console.log("htmleditor.BlockTd normalizeWidths"); + 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; @@ -25109,7 +25120,9 @@ 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; @@ -25129,7 +25142,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;