diff options
author | alecpl <alec@alec.pl> | 2009-07-01 20:34:02 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-07-01 20:34:02 +0000 |
commit | 6b42d52758b690a11349c3a8a104bb72ea0ed7e8 (patch) | |
tree | 634708b25eb0fd7dc73e8624b3519c9a48edaf44 /program | |
parent | 49c71c79815f14cbe515f1d2497b5318711dafbf (diff) |
- call tinyMCE.triggerSave() before form submit (#1485860)
Diffstat (limited to 'program')
-rw-r--r-- | program/js/app.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/program/js/app.js b/program/js/app.js index f903af0a1..532c900ed 100644 --- a/program/js/app.js +++ b/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; }; |