You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Kyra Pritzel-Hentley (JIRA)" <ji...@apache.org> on 2017/12/20 11:55:03 UTC

[jira] [Created] (OFBIZ-10103) Useful parameter usage extension and small fix of getDependentDropdownValues in miscAjaxFunctions.js

Kyra Pritzel-Hentley created OFBIZ-10103:
--------------------------------------------

             Summary: Useful parameter usage extension and small fix of getDependentDropdownValues in miscAjaxFunctions.js
                 Key: OFBIZ-10103
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10103
             Project: OFBiz
          Issue Type: Improvement
          Components: themes
            Reporter: Kyra Pritzel-Hentley
            Priority: Minor


* 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:
{code:java}
optionList += "<option value = " + values[1] + " >" + values[0] + "</option>";
{code}
to
{code:java}
optionList += "<option value = '" + values[1] + "' >" + values[0] + "</option>";
{code}
Without the single quotes, values which have an empty space will be read as two seperate values instead of one. 







--
This message was sent by Atlassian JIRA
(v6.4.14#64029)