From 762b28084f8d34aa48436d5d135f33b20fab9051 Mon Sep 17 00:00:00 2001 From: alec Date: Wed, 1 Oct 2008 08:29:58 +0000 Subject: - Stop spellchecking when switching to html editor (#1485362) git-svn-id: https://svn.roundcube.net/trunk@1904 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/js/editor.js') 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 = "
" + composeElement.value + "
"; composeElement.value = htmlText; tinyMCE.execCommand('mceAddControl', true, 'compose-body'); htmlFlag.value = "1"; - rcmail.display_spellcheck_controls(false); } else { -- cgit v1.2.3