X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;fp=roojs-bootstrap-debug.js;h=1b68801487a3d21b5bb2ef1cf56b8c98e9f7222a;hp=2a9d14f3c3b87ed216fcd16366cb9260dbe9d2e3;hb=0fa7894b7489284160ff14afdca7b6911983357f;hpb=682b55a93857ddf7a1e4c0a1876d412dbc199b0c diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 2a9d14f3c3..1b68801487 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -25612,7 +25612,6 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { /** * @cfg {boolean} allowComments - default false - allow comments in HTML source - by default they are stripped - if you are editing email you may need this. */ - allowComments: false, // id of frame.. frameId: false, @@ -26527,8 +26526,10 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { // clean up silly Windows -- stuff? return; } - if (node.nodeName == "#comment" && !this.allowComments) { - node.parentNode.removeChild(node); + if (node.nodeName == "#comment") { + if (!this.allowComments) { + node.parentNode.removeChild(node); + } // clean up silly Windows -- stuff? return; }