You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Norbert Sándor (JIRA)" <ta...@jakarta.apache.org> on 2005/10/20 09:06:48 UTC

[jira] Commented: (TAPESTRY-711) Do not give focus to disabled fields.

    [ http://issues.apache.org/jira/browse/TAPESTRY-711?page=comments#action_12332557 ] 

Norbert Sándor commented on TAPESTRY-711:
-----------------------------------------

In beta 11 Submit buttons may have such autofocus, which is not good I think.

BR,
Norbi

> Do not give focus to disabled fields.
> -------------------------------------
>
>          Key: TAPESTRY-711
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-711
>      Project: Tapestry
>         Type: Bug
>   Components: Framework
>     Versions: 4.0
>     Reporter: Claus Nielsen

>
> I have a Form in which the first field is a disabled TextField.
> The page generated by Tapestry contains this JavaScript statement:
> Tapestry.set_focus('number');
> It tries to give focus to the disabled field. It should instead give focus to the first non-hidden, non-disabled field in the form.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org