summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-01 20:34:02 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-07-01 20:34:02 +0000
commit35aa148d0c81dcf74739d9c9a85c9c0e477009c9 (patch)
tree3bc974c35181730a22b188b856bb163e72f597b4 /roundcubemail/program
parent1c19854d47c5b71fa03b95133bb600af772dc025 (diff)
- call tinyMCE.triggerSave() before form submit (#1485860)
git-svn-id: https://svn.roundcube.net/trunk@2694 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js4
1 files changed, 4 insertions, 0 deletions
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;
};