dbody.bgProperties = 'fixed'; // ie
//Roo.DomHelper.applyStyles(dbody, ss);
Roo.EventManager.on(this.doc, {
- //'mousedown': this.onEditorEvent,
+ 'mousedown': this.onMouseDown,
'mouseup': this.onEditorEvent,
'dblclick': this.onEditorEvent,
'click': this.onEditorEvent,
updateLanguage : function()
{
- if (!this.iframe || !this.iframe.content) {
+ if (!this.iframe || !this.iframe.contentDocument) {
return;
}
- Roo.get(this.iframe.content.body).attr("lang", this.language);
+ Roo.get(this.iframe.contentDocument.body).attr("lang", this.language);
},