[
https://issues.apache.org/jira/browse/OFBIZ-10103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Brohl reassigned OFBIZ-10103:
-------------------------------------
Assignee: Michael Brohl
> 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
> Assignee: Michael Brohl
> Priority: Minor
> Attachments: OFBIZ-10103_miscAjaxFunctions.getDependentDropdownValues_refactoring.patch
>
>
> * 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)