diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-01 08:29:58 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-01 08:29:58 +0000 |
| commit | 762b28084f8d34aa48436d5d135f33b20fab9051 (patch) | |
| tree | 14c6a19ecd96c8e0b10e81497d73eb96befad8c0 /roundcubemail/program/js/editor.js | |
| parent | f72b1907d40aece81c1f21609880ba10cb40d1f4 (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.js | 2 |
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 { |
