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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • None
    • 16.11.05
    • themes
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment