From 35aa148d0c81dcf74739d9c9a85c9c0e477009c9 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 1 Jul 2009 20:34:02 +0000 Subject: - call tinyMCE.triggerSave() before form submit (#1485860) git-svn-id: https://svn.roundcube.net/trunk@2694 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index f903af0a1..532c900ed 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -2170,6 +2170,10 @@ function rcube_webmail() // Apply spellcheck changes if spell checker is active this.stop_spellchecking(); + // move body from html editor to textarea (just to be sure, #1485860) + if (window.tinyMCE && tinyMCE.get('compose-body')) + tinyMCE.triggerSave(); + return true; }; -- cgit v1.2.3