Author: jleroux
Date: Fri Jan 25 13:32:11 2013
New Revision: 1438504
URL:
http://svn.apache.org/viewvc?rev=1438504&view=revLog:
"Applied fix from trunk for revision: 1438498 "
------------------------------------------------------------------------
r1438498 | jleroux | 2013-01-25 14:22:58 +0100 (ven., 25 janv. 2013) | 3 lines
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/branches/release12.04/ (props changed)
ofbiz/branches/release12.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl
Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1438498
Modified: ofbiz/branches/release12.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release12.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl?rev=1438504&r1=1438503&r2=1438504&view=diff==============================================================================
--- ofbiz/branches/release12.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl (original)
+++ ofbiz/branches/release12.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl Fri Jan 25 13:32:11 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