From 0a5eabe762e9c6fc04b0388a854987a3bebabc71 Mon Sep 17 00:00:00 2001 From: alec Date: Sat, 28 Aug 2010 14:34:05 +0000 Subject: - Fix r3913: don't run spellchecker on send git-svn-id: https://svn.roundcube.net/trunk@3915 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'); -- cgit v1.2.3