X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;h=814ef36a9964ea2f309965bbc1509c96a94230cd;hp=014ca15a772a608732cac7e4918f03850783c7f6;hb=6b561a4e7e9581aa503470ba80bd829492bee135;hpb=beb68286933c83c15fa06a5c056f6fc74ca17ac8 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);