[
https://issues.apache.org/struts/browse/STR-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42676
]
[EMAIL PROTECTED] edited comment on STR-3112 at 11/16/07 9:25 PM:
-------------------------------------------------------------
Hi there,
attached is the patch against Tag 1.3.9 from svn.
I confirm that it is working in my environment.
Any chance this patch goes main stream during 1.3.9 release?
Regards,
Hasan Ceylan
was (Author: [EMAIL PROTECTED]):
Hi there,
attached is the patch against Tag 1.3.9 from svn.
I confirm that it is working in my environment.
Any change this patch goes main stream during 1.3.9 release?
Regards,
Hasan Ceylan
> If html:form sets a focus control that is of array type like radio buttons,
> generated javascript is wrong
> ---------------------------------------------------------------------------------------------------------
>
> Key: STR-3112
> URL: https://issues.apache.org/struts/browse/STR-3112
> Project: Struts 1
> Issue Type: Bug
> Components: Taglibs
> Affects Versions: Pending Review
> Environment: All
> Reporter: Hasan Ceylan
> Priority: Minor
> Attachments: struts_patch.txt
>
>
> I have a form with radio buttons on it. focus control is set to radio
> property and focus index is set to 0.
> Generated javascript is below. As in this case focus control is array on
> input objects (radios), styşe check yields to a javascript error...
> </form>
> <script type="text/javascript" language="JavaScript">
> <!--
> var focusControl = document.forms["accountForm3"].elements["active"];
> if (focusControl.type != "hidden" && !focusControl.disabled &&
> focusControl.style.display != "none") {
> focusControl[0].focus();
> }
> // -->
> </script>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.