From 317219dafe98b70797ef853571c255de0654d4aa Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 2 Nov 2005 22:49:02 +0000 Subject: Added tab-index for compose form --- program/steps/mail/compose.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/steps/mail') diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index f70759914..0dc450205 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -83,7 +83,7 @@ function rcmail_compose_headers($attrib) // pass the following attributes to the form class $field_attrib = array('name' => '_from'); foreach ($attrib as $attr => $value) - if (in_array($attr, array('id', 'class', 'style', 'size'))) + if (in_array($attr, array('id', 'class', 'style', 'size', 'tabindex'))) $field_attrib[$attr] = $value; // get this user's identities @@ -146,14 +146,14 @@ function rcmail_compose_headers($attrib) if (!$fname) $fname = '_bcc'; - $allow_attrib = array('id', 'class', 'style', 'cols', 'rows', 'wrap'); + $allow_attrib = array('id', 'class', 'style', 'cols', 'rows', 'wrap', 'tabindex'); $field_type = 'textarea'; break; case 'replyto': case 'reply-to': $fname = '_replyto'; - $allow_attrib = array('id', 'class', 'style', 'size'); + $allow_attrib = array('id', 'class', 'style', 'size', 'tabindex'); $field_type = 'textfield'; break; -- cgit v1.2.3