summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/mail
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-16 13:58:17 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-16 13:58:17 +0000
commit290218ee9334d9cce009726a84eb846cf41bcea2 (patch)
treec9032dee2448050cfd8bb4df24066d2cee1e4d23 /roundcubemail/program/steps/mail
parent8e0127c83aa8308dce73d194ecdea8a0a16431e2 (diff)
- Allow and use spellcheck attribute for input/textarea fields (#1485060)
git-svn-id: https://svn.roundcube.net/trunk@1806 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
-rw-r--r--roundcubemail/program/steps/mail/compose.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc
index 02d062c1f..151b46146 100644
--- a/roundcubemail/program/steps/mail/compose.inc
+++ b/roundcubemail/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 = '';