projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a25745
)
Roo/form/HtmlEditor/ToolbarContext.js
author
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 05:00:07 +0000
(13:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 20 Aug 2013 05:00:07 +0000
(13:00 +0800)
Roo/form/HtmlEditor/ToolbarContext.js
patch
|
blob
|
history
diff --git
a/Roo/form/HtmlEditor/ToolbarContext.js
b/Roo/form/HtmlEditor/ToolbarContext.js
index
ae8d328
..
29a2988
100644
(file)
--- a/
Roo/form/HtmlEditor/ToolbarContext.js
+++ b/
Roo/form/HtmlEditor/ToolbarContext.js
@@
-603,7
+603,7
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
// undo does not work.
var sn = tb.selectedNode;
- Roo.log(sn);
+
var pn = sn.parentNode;
var stn = sn.childNodes[0];
@@
-611,7
+611,7
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
while (sn.childNodes.length) {
var node = sn.childNodes[0];
sn.removeChild(node);
- Roo.log(node);
+
//
Roo.log(node);
pn.insertBefore(node, sn);
}
@@
-694,7
+694,7
@@
Roo.apply(Roo.form.HtmlEditor.ToolbarContext.prototype, {
{
ev.preventDefault();
var cn = dom.className;
- Roo.log(cn);
+
//
Roo.log(cn);
if (!cn.match(/x-ed-loc-/)) {
return;
}