Author: jleroux
Date: Fri Jan 25 13:22:58 2013
New Revision: 1438498
URL:
http://svn.apache.org/viewvc?rev=1438498&view=revLog:
A patch from Taher Alkhateeb for "Corrections and improvements to dependent drop-downs"
https://issues.apache.org/jira/browse/OFBIZ-5126The setDependentDropdownValuesJs.ftl is using an incorrect argument which usually happens to work because it is a duplicate of another.
Modified:
ofbiz/trunk/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl
Modified: ofbiz/trunk/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl?rev=1438498&r1=1438497&r2=1438498&view=diff==============================================================================
--- ofbiz/trunk/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl (original)
+++ ofbiz/trunk/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl Fri Jan 25 13:22:58 2013
@@ -20,9 +20,9 @@ under the License.
jQuery(document).ready(function() {
if (jQuery('#${dependentForm}').length) {
jQuery("#${dependentForm}_${mainId}").change(function(e, data) {
- getDependentDropdownValues('${requestName}', '${paramKey}', '${dependentForm}_${mainId}', '${dependentForm}_${dependentId}', '${responseName}', '${dependentId}', '${descName}');
+ getDependentDropdownValues('${requestName}', '${paramKey}', '${dependentForm}_${mainId}', '${dependentForm}_${dependentId}', '${responseName}', '${dependentKeyName}', '${descName}');
});
- getDependentDropdownValues('${requestName}', '${paramKey}', '${dependentForm}_${mainId}', '${dependentForm}_${dependentId}', '${responseName}', '${dependentId}', '${descName}', '${selectedDependentOption}');
+ getDependentDropdownValues('${requestName}', '${paramKey}', '${dependentForm}_${mainId}', '${dependentForm}_${dependentId}', '${responseName}', '${dependentKeyName}', '${descName}', '${selectedDependentOption}');
}
})
</script>
\ No newline at end of file