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 2011/02/05 13:13:16 UTC
svn commit: r1067429 -
/ofbiz/trunk/framework/images/webapp/images/selectall.js
Author: jleroux
Date: Sat Feb 5 12:13:15 2011
New Revision: 1067429
URL: http://svn.apache.org/viewvc?rev=1067429&view=rev
Log:
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) {