summaryrefslogtreecommitdiff
path: root/program/steps/mail
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/steps/mail
parent8b34075755bcf104964079f9ffe8f0550869e1f0 (diff)
Define context (_remote=1) for spellcheck requests to send proper response on error
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 0b06389b7..e3f8f57a6 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -843,7 +843,7 @@ function rcmail_compose_body($attrib)
"googie.decorateTextarea('%s');\n".
"%s.set_env('spellcheck', googie);",
$RCMAIL->output->get_skin_path(),
- $RCMAIL->url(array('_task' => 'utils', '_action' => 'spell')),
+ $RCMAIL->url(array('_task' => 'utils', '_action' => 'spell', '_remote' => 1)),
!empty($dictionary) ? 'true' : 'false',
JQ(Q(rcube_label('checkspelling'))),
JQ(Q(rcube_label('resumeediting'))),