From 54d37b816e754157fc7141ddb517e33f821feeed Mon Sep 17 00:00:00 2001 From: roundcube Date: Wed, 2 Nov 2005 22:49:02 +0000 Subject: Added tab-index for compose form git-svn-id: https://svn.roundcube.net/trunk@74 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 6 +++--- roundcubemail/skins/default/templates/compose.html | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index f70759914..0dc450205 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/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; diff --git a/roundcubemail/skins/default/templates/compose.html b/roundcubemail/skins/default/templates/compose.html index 9dda5dad3..2071c0e05 100644 --- a/roundcubemail/skins/default/templates/compose.html +++ b/roundcubemail/skins/default/templates/compose.html @@ -48,29 +48,29 @@ function rcmail_toggle_display(id) - + - + - + - + - +
[Cc]
[Bcc]