X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;h=814ef36a9964ea2f309965bbc1509c96a94230cd;hp=014ca15a772a608732cac7e4918f03850783c7f6;hb=refs%2Fheads%2Fwip_alan_T7160_sort_out_comment_removal_and;hpb=822be9c30d019c1af33a81edc8ea4d122dbb2e6c diff --git a/roojs-debug.js b/roojs-debug.js index 014ca15a77..814ef36a99 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -49866,7 +49866,9 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { //Roo.log("HtmlEditorCore:syncValue (EDITOR->TEXT)"); if(this.initialized){ - this.undoManager.addEvent(); + if (this.undoManager) { + this.undoManager.addEvent(); + } var bd = (this.doc.body || this.doc.documentElement);