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

Useful parameter usage extension and small fix of getDependentDropdownValues in miscAjaxFunctions.js

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: None
    • Fix Version/s: 16.11.05
    • Component/s: themes
    • Labels:
      None

      Description

      • When getting the dependant dropdown paramKeys, it would be nice to have the option to specify multiple parameters in case the dropdown field is dependant of multiple other dropdown fields.
      • Single quotes should be added to the code in the following way:
        optionList += "<option value = " + values[1] + " >" + values[0] + "</option>";
        

        to

        optionList += "<option value = '" + values[1] + "' >" + values[0] + "</option>";
        

        Without the single quotes, values which have an empty space will be read as two seperate values instead of one.

        Attachments

          Activity

            People

            • Assignee:
              mbrohl Michael Brohl
              Reporter:
              Kyra Pritzel-Hentley Kyra Pritzel-Hentley
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: