Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6346

When used setDependentDropdownValuesJs.ftl precludes focus-field-name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Release Branch 12.04, Release Branch 13.07, Release Branch 14.12, Trunk
    • 14.12.01, 12.04.06, 13.07.02, 16.11.01
    • framework
    • None

    Description

      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

      Attachments

        Activity

          People

            jleroux Jacques Le Roux
            jleroux Jacques Le Roux
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: