summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-09-16 13:58:17 +0000
committeralecpl <alec@alec.pl>2008-09-16 13:58:17 +0000
commit491a6e2901938f49c1e14907f9da615286c81719 (patch)
tree15c2a9283a8ef21384e69cf7b4a1c4b08373e0bb /program/steps/mail
parenta47acc56c6abc68b872fb8bfe431880c766cabc5 (diff)
- Allow and use spellcheck attribute for input/textarea fields (#1485060)
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/compose.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 02d062c1f..151b46146 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -241,7 +241,7 @@ function rcmail_compose_headers($attrib)
if ($fname && $field_type)
{
// pass the following attributes to the form class
- $field_attrib = array('name' => $fname);
+ $field_attrib = array('name' => $fname, 'spellcheck' => 'false');
foreach ($attrib as $attr => $value)
if (in_array($attr, $allow_attrib))
$field_attrib[$attr] = $value;
@@ -650,6 +650,7 @@ function rcmail_compose_subject($attrib)
unset($attrib['form']);
$attrib['name'] = '_subject';
+ $attrib['spellcheck'] = 'true';
$textfield = new html_inputfield($attrib);
$subject = '';