svn commit: r992731 - /ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r992731 - /ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js

jleroux@apache.org
Author: jleroux
Date: Sun Sep  5 08:43:57 2010
New Revision: 992731

URL: http://svn.apache.org/viewvc?rev=992731&view=rev
Log:
Add a comment about json formatted result that is not really obvious (at end of code)

Modified:
    ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js

Modified: ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js
URL: http://svn.apache.org/viewvc/ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js?rev=992731&r1=992730&r2=992731&view=diff
==============================================================================
--- ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js (original)
+++ ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js Sun Sep  5 08:43:57 2010
@@ -29,6 +29,7 @@
 // callback     = optional javascript function called at end
 function getDependentDropdownValues(request, paramKey, paramField, targetField, responseName, keyName, descName, selected, callback) {
  data = [ { name: paramKey, value: jQuery('#' + paramField).val()} ];  // get requested value from parent dropdown field
+ // Call jQuery.post with a json formatted result (see end of code)
     jQuery.post(request, data, function(result) {
         optionList = '';
         list = result[responseName];