Author: jleroux
Date: Sat Feb 5 12:13:15 2011
New Revision: 1067429
URL:
http://svn.apache.org/viewvc?rev=1067429&view=revLog:
A patch from Youssef Khaye's idea "ajaxUpdateAreas not working" (
https://issues.apache.org/jira/browse/OFBIZ-4164) - OFBIZ-4164
When using multiple on-event-update-area for a form submit, it yields in an ajaxSubmitFormUpdateAreas and that does not work currently.
Setting the jQueyr.ajax async option to false resolved the issue.
Modified:
ofbiz/trunk/framework/images/webapp/images/selectall.js
Modified: ofbiz/trunk/framework/images/webapp/images/selectall.js
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/selectall.js?rev=1067429&r1=1067428&r2=1067429&view=diff==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/selectall.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/selectall.js Sat Feb 5 12:13:15 2011
@@ -265,6 +265,7 @@ function ajaxUpdateAreas(areaCsvString)
targetParams = targetParams.replace('?','');
jQuery.ajax({
url: target,
+ async: false,
type: "POST",
data: targetParams,
success: function(data) {