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

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

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

Nicolas Malin (Jira)
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)