[ http://issues.apache.org/struts/browse/STR-2826?page=all ]
Don Brown resolved STR-2826:
----------------------------
Fix Version: 1.3.3
Resolution: Fixed
Assign To: Don Brown (was: Struts Developer Mailing List)
The patch has been applied against trunk, so give it a shot and close the
ticket if you found it fixed. Thanks for the patch!
> If a field's display property is set to 'none' using CSS or JavaScript, the
> focus code fails.
> ---------------------------------------------------------------------------------------------
>
> Key: STR-2826
> URL: http://issues.apache.org/struts/browse/STR-2826
> Project: Struts Action 1
> Type: Bug
> Components: Taglibs
> Versions: 1.2.9
> Environment: Operating System: other
> Platform: Other
> Reporter: Zarar Siddiqi
> Assignee: Don Brown
> Fix For: 1.3.3
> Attachments: focusControl_css_dispay_bug_fix.patch
>
> If a field's display property is set to 'none' using CSS or JavaScript, the
> current code still tries to give the field focus which will result in an error
> in IE.
> A patch is for the org.apache.struts.taglib.html.FormTag.java file and is
> attached:
> 663c663
> < " if (focusControl.type != \"hidden\" &&
> !focusControl.disabled) {");
> ---
> > " if (focusControl.type != \"hidden\" && !focusControl.disabled
> && focusControl.style.display != \"none\") {");
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]