[jira] [Closed] (OFBIZ-6346) When used setDependentDropdownValuesJs.ftl precludes focus-field-name

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (OFBIZ-6346) When used setDependentDropdownValuesJs.ftl precludes focus-field-name

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-6346.
----------------------------------
    Resolution: Fixed

Fixed in
trunk r1678294
R14.12 r1678295
R13.07 r1678296
R12.04 r1678297




> When used setDependentDropdownValuesJs.ftl precludes focus-field-name
> ---------------------------------------------------------------------
>
>                 Key: OFBIZ-6346
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6346
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 12.04, Release Branch 13.07, Release Branch 14.12, Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: 14.12.01, 12.04.06, 13.07.02, Upcoming Branch
>
>
> When I created setDependentDropdownValuesJs.ftl I did not notice it preclude focus-field-name action in form widget. This is because the ajax call takes some time and when back the dependent form gets the focus.
> An easy fix is to add as parameter the name of a field to focus on in setDependentDropdownValuesJs.ftl after the initial sync Ajax call is done and focus on it if present



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)