summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/editor.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-01 08:29:58 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-10-01 08:29:58 +0000
commit762b28084f8d34aa48436d5d135f33b20fab9051 (patch)
tree14c6a19ecd96c8e0b10e81497d73eb96befad8c0 /roundcubemail/program/js/editor.js
parentf72b1907d40aece81c1f21609880ba10cb40d1f4 (diff)
- Stop spellchecking when switching to html editor (#1485362)
git-svn-id: https://svn.roundcube.net/trunk@1904 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/editor.js')
-rw-r--r--roundcubemail/program/js/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/editor.js b/roundcubemail/program/js/editor.js
index ceab021ef..a9aec621c 100644
--- a/roundcubemail/program/js/editor.js
+++ b/roundcubemail/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
{