You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2013/01/25 15:05:44 UTC

svn commit: r1438523 - in /ofbiz/branches/release11.04: ./ framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl

Author: jleroux
Date: Fri Jan 25 14:05:44 2013
New Revision: 1438523

URL: http://svn.apache.org/viewvc?rev=1438523&view=rev
Log:
"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-5126

The setDependentDropdownValuesJs.ftl is using an incorrect argument which usually happens to work because it is a duplicate of another.
------------------------------------------------------------------------


Modified:
    ofbiz/branches/release11.04/   (props changed)
    ofbiz/branches/release11.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl

Propchange: ofbiz/branches/release11.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1438498

Modified: ofbiz/branches/release11.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl?rev=1438523&r1=1438522&r2=1438523&view=diff
==============================================================================
--- ofbiz/branches/release11.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl (original)
+++ ofbiz/branches/release11.04/framework/common/webcommon/includes/setDependentDropdownValuesJs.ftl Fri Jan 25 14:05:44 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