summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-08-28 14:34:05 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-08-28 14:34:05 +0000
commit0a5eabe762e9c6fc04b0388a854987a3bebabc71 (patch)
tree7a18f68d5dec7c64b96070a2db94cfde48e58dee /roundcubemail/program
parent96e4f1650517889190fec52245b31175dca2ea2a (diff)
- Fix r3913: don't run spellchecker on send
git-svn-id: https://svn.roundcube.net/trunk@3915 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 425e71b42..71daec51a 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -2847,7 +2847,8 @@ function rcube_webmail()
{
var ed;
if (window.tinyMCE && (ed = tinyMCE.get(this.env.composebody))) {
- ed.execCommand('mceSpellCheck');
+ if (ed.plugins.spellchecker.active)
+ ed.execCommand('mceSpellCheck');
}
else if ((ed = this.env.spellcheck) && !this.spellcheck_ready) {
$(ed.spell_span).trigger('click');