projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2efbc28
)
Roo/htmleditor/BlockTd.js
author
Alan
<alan@roojs.com>
Thu, 23 Dec 2021 07:50:45 +0000
(15:50 +0800)
committer
Alan
<alan@roojs.com>
Thu, 23 Dec 2021 07:50:45 +0000
(15:50 +0800)
Roo/htmleditor/BlockTd.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/BlockTd.js
b/Roo/htmleditor/BlockTd.js
index
26bf190
..
8f4082d
100644
(file)
--- a/
Roo/htmleditor/BlockTd.js
+++ b/
Roo/htmleditor/BlockTd.js
@@
-404,7
+404,7
@@
Roo.extend(Roo.htmleditor.BlockTd, Roo.htmleditor.Block, {
if (l.c < 0) { //?? will this happen?
throw "cant find left cell?";
}
- var ntd = this.node.
documentEle
ment.createElement('td');
+ var ntd = this.node.
ownerDocu
ment.createElement('td');
table[l.r][l.c].cell.row.insertBefore(ntd, table[l.r][l.c].cell.nextSibling);
table[r][c] = { cell : ntd, col : c, row: r , colspan : 1 , rowspan : 1 };
}