* fixing bug i reported in #1484545

release-0.6
till 17 years ago
parent c3c0fb7149
commit 6108988f2b

@ -1824,6 +1824,10 @@ function rcube_webmail()
var eid = tinyMCE.getEditorId('_message');
// editor is a TinyMCE_Control object
var editor = tinyMCE.getInstanceById(eid);
// if this is null, we should exit
if (editor == null) {
return false;
}
var msgDoc = editor.getDoc();
var msgBody = msgDoc.body;

Loading…
Cancel
Save