You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Michael Brohl (JIRA)" <ji...@apache.org> on 2018/02/14 14:26:00 UTC

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

     [ https://issues.apache.org/jira/browse/OFBIZ-10103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Brohl closed OFBIZ-10103.
---------------------------------
       Resolution: Implemented
    Fix Version/s: 16.11.05

Thanks Kyra,

this was already committed in r1819139, forgot to close this issue.

 

> 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
>             Fix For: 16.11.05
>
>         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
(v7.6.3#76005)