projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Roo/htmleditor/BlockTd.js
[roojs1]
/
Roo
/
htmleditor
/
BlockTd.js
diff --git
a/Roo/htmleditor/BlockTd.js
b/Roo/htmleditor/BlockTd.js
index
13859fb
..
acf00d7
100644
(file)
--- a/
Roo/htmleditor/BlockTd.js
+++ b/
Roo/htmleditor/BlockTd.js
@@
-488,6
+488,7
@@
Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
mergeRight: function()
{
mergeRight: function()
{
+ console.log("htmleditor.BlockTd mergeRight");
// get the contents of the next cell along..
var tr = this.node.closest('tr');
// get the contents of the next cell along..
var tr = this.node.closest('tr');
@@
-605,6
+606,8
@@
Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
},
updateWidths : function(table)
{
},
updateWidths : function(table)
{
+ console.log("htmleditor.BlockTd updateWidths");
+ console.log(table);
for(var r = 0 ; r < table.length; r++) {
for(var c = 0 ; c < table[r].length; c++) {
for(var r = 0 ; r < table.length; r++) {
for(var c = 0 ; c < table[r].length; c++) {
@@
-625,9
+628,9
@@
Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
{
console.log("htmleditor.BlockTd normalizeWidths");
console.log("colWidths 0");
{
console.log("htmleditor.BlockTd normalizeWidths");
console.log("colWidths 0");
- console.log(
col.
Widths[0]);
+ console.log(
this.col
Widths[0]);
console.log("colWidths 1");
console.log("colWidths 1");
- console.log(
col.Wdi
ths[1]);
+ console.log(
this.colWid
ths[1]);
if (this.colWidths[0] === false) {
var nw = 100.0 / this.colWidths.length;
if (this.colWidths[0] === false) {
var nw = 100.0 / this.colWidths.length;
@@
-696,7
+699,9
@@
Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
},
growColumn : function()
{
},
growColumn : function()
{
+ console.log("htmleditor.BlockTd growColumn");
var table = this.toTableArray();
var table = this.toTableArray();
+ console.log(table);
this.normalizeWidths(table);
var col = this.cellData.col;
var nw = this.colWidths[col] * 1.2;
this.normalizeWidths(table);
var col = this.cellData.col;
var nw = this.colWidths[col] * 1.2;