Author: jleroux
Date: Wed Sep 29 10:39:47 2010
New Revision: 1002572

URL: http://svn.apache.org/viewvc?rev=1002572&view=rev
Log:
Fix syntax issues. I thought I tested getServiceResult through 
checkUomConversion but I was wrong (I only tested the underneath 
checkUomConversion service)

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=1002572&r1=1002571&r2=1002572&view=diff
==============================================================================
--- 
ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js
 (original)
+++ 
ofbiz/branches/jquery/framework/images/webapp/images/getDependentDropdownValues.js
 Wed Sep 29 10:39:47 2010
@@ -88,8 +88,8 @@ function getDependentDropdownValues(requ
 //*** calls any service already mounted as an event
 function getServiceResult(request, params) {
     data = [];
-    jQuery.each(params, function (key, value) { data.add({ name: key, value: 
value}) }
-    return jQuery.post(request, data, function(result) { return result }
+    jQuery.each(params, function (key, value) { data.add({ name: key, value: 
value}) });
+    return jQuery.getJSON(request, data, function(result) { return result } )
 }
 
 //*** checkUomConversion returns true if an UomConversion exists 


Reply via email to