summaryrefslogtreecommitdiff
path: root/program/js/editor.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-07-31 09:23:23 +0200
committerAleksander Machniak <alec@alec.pl>2012-07-31 09:23:23 +0200
commitec86add1ffbdc7c60d446657b7d713867c736c36 (patch)
tree7c244e5da8b16978fa53228e8ea7f9814152cf09 /program/js/editor.js
parent8b34075755bcf104964079f9ffe8f0550869e1f0 (diff)
Define context (_remote=1) for spellcheck requests to send proper response on error
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 b9fb6e20a..bc36e9a39 100644
--- a/program/js/editor.js
+++ b/program/js/editor.js
@@ -49,7 +49,7 @@ function rcmail_editor_init(config)
theme_advanced_buttons1: 'bold,italic,underline,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,ltr,rtl,blockquote,|,forecolor,backcolor,fontselect,fontsizeselect',
theme_advanced_buttons2: 'link,unlink,table,|,emotions,charmap,image,media,|,code,search,undo,redo',
spellchecker_languages: (rcmail.env.spellcheck_langs ? rcmail.env.spellcheck_langs : 'Dansk=da,Deutsch=de,+English=en,Espanol=es,Francais=fr,Italiano=it,Nederlands=nl,Polski=pl,Portugues=pt,Suomi=fi,Svenska=sv'),
- spellchecker_rpc_url: '?_task=utils&_action=spell_html',
+ spellchecker_rpc_url: '?_task=utils&_action=spell_html&_remote=1',
spellchecker_enable_learn_rpc: config.spelldict,
accessibility_focus: false,
oninit: 'rcmail_editor_callback'