summaryrefslogtreecommitdiff
path: root/program/js/editor.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-01 08:29:58 +0000
committeralecpl <alec@alec.pl>2008-10-01 08:29:58 +0000
commitf4b8681160110659f5f78b309237de6f43c32537 (patch)
tree827c92e75f9c0c11385c1924817c136dda16d733 /program/js/editor.js
parentef925ffe08cf221f1415fb8405ad4fb229172139 (diff)
- Stop spellchecking when switching to html editor (#1485362)
Diffstat (limited to 'program/js/editor.js')
-rw-r--r--program/js/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/editor.js b/program/js/editor.js
index ceab021ef..a9aec621c 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -58,12 +58,12 @@ function rcmail_toggle_editor(toggler)
// do the appropriate conversion
if (selectedEditor == 'html')
{
+ rcmail.display_spellcheck_controls(false);
var composeElement = document.getElementById('compose-body');
var htmlText = "<pre>" + composeElement.value + "</pre>";
composeElement.value = htmlText;
tinyMCE.execCommand('mceAddControl', true, 'compose-body');
htmlFlag.value = "1";
- rcmail.display_spellcheck_controls(false);
}
else
{