diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-30 17:08:47 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-30 17:08:47 +0000 |
| commit | b99d09dd1b1b7d964b9726104cd6bdd82de9cef1 (patch) | |
| tree | 35cac318f8066dbba6c305717803aa8909eb52c4 /roundcubemail/program/js/googiespell.js | |
| parent | 42ab7c04862ecd06ee178e005fa41d3654256f1b (diff) | |
- Fix setting language for spellchecker on spellcheck_before_send
git-svn-id: https://svn.roundcube.net/trunk@4817 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/googiespell.js')
| -rw-r--r-- | roundcubemail/program/js/googiespell.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/roundcubemail/program/js/googiespell.js b/roundcubemail/program/js/googiespell.js index 22716c457..d6aea48ba 100644 --- a/roundcubemail/program/js/googiespell.js +++ b/roundcubemail/program/js/googiespell.js @@ -10,8 +10,8 @@ Aleksander Machniak - alec [at] alec.pl */ -var SPELL_CUR_LANG = null; -var GOOGIE_DEFAULT_LANG = 'en'; +var GOOGIE_CUR_LANG, + GOOGIE_DEFAULT_LANG = 'en'; function GoogieSpell(img_dir, server_url) { var ref = this, @@ -260,9 +260,9 @@ this.spellCheck = function(ignore) { ref.resumeEditingState(); } else { if (!ref.custom_no_spelling_error) - ref.flashNoSpellingErrorState(); - else - ref.custom_no_spelling_error(ref); + ref.flashNoSpellingErrorState(); + else + ref.custom_no_spelling_error(ref); } ref.removeIndicator(); } |
