You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2013/01/25 15:07:14 UTC

[jira] [Closed] (OFBIZ-5126) Corrections and improvements to dependent drop-downs

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

Jacques Le Roux closed OFBIZ-5126.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 12.04
                   SVN trunk
                   Release Branch 11.04
         Assignee: Jacques Le Roux

setDependentDropdownValuesJs.patch commited in 
trunk r1438498  
R12.04 r1438504
R11.04 r1438523

The improvements are in trunk only at r1438501  

Next time, for the sake of patches history, create rather 2 Jira issues with improvements and bug fixes separated ;)

                
> Corrections and improvements to dependent drop-downs
> ----------------------------------------------------
>
>                 Key: OFBIZ-5126
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5126
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Taher Alkhateeb
>            Assignee: Jacques Le Roux
>              Labels: dropdownlist, freemarker, javascript
>             Fix For: Release Branch 11.04, SVN trunk, Release Branch 12.04
>
>         Attachments: getDependentDropdownValues.patch, setDependentDropdownValuesJs.patch, setPriceRulesCondEventJs.patch
>
>
> The following items are included in this issue:
> 1) The setDependentDropdownValuesJs.ftl is using an incorrect argument which usually happens to work because it is a duplicate of another. See patch for details
> 2) The getDependentDropdownValues.js is modified with a new argument to allow for empty selections. Therefore, copying the behavior of form widget drop-down's "allow-empty"
> 3) There is only one file affected by item number 2 above, therefore, I fixed it to include the argument in getDependentDropdownValues.js

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira