[
https://issues.apache.org/jira/browse/OFBIZ-5126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13563440#comment-13563440 ]
Jacques Le Roux commented on OFBIZ-5126:
----------------------------------------
Oops: I missed setPriceRulesCondEventJs.ftl in r1438501 (it worked correctly w/out).
As you suggested Taher, I finally used '' instead of false, committed in trunk at r1438876
> 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