X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=f5ff08a7df62eb6e572f7f662e05dfdfe0729174;hp=7f5c68ca174fb5fb44f1fff43bb4eeaf6a6eae84;hb=refs%2Fheads%2Fwip_alan_T7160_sort_out_comment_removal_and;hpb=822be9c30d019c1af33a81edc8ea4d122dbb2e6c diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 7f5c68ca17..f5ff08a7df 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -25374,7 +25374,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);