From 2d27641cb593b92b9335bb0f19ae8a1d544a3244 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 28 Aug 2010 14:34:05 +0000 Subject: - Fix r3913: don't run spellchecker on send --- program/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'program') 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'); -- cgit v1.2.3