summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-08-28 14:34:05 +0000
committeralecpl <alec@alec.pl>2010-08-28 14:34:05 +0000
commit2d27641cb593b92b9335bb0f19ae8a1d544a3244 (patch)
tree9740d94b724aec4215b0c7e8462be56aea72fd57 /program
parent38d9304a00231135cbe5e4e771940d8b955ad140 (diff)
- Fix r3913: don't run spellchecker on send
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 425e71b42..71daec51a 100644
--- a/program/js/app.js
+++ b/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');