Author: jleroux Date: Thu Jan 13 18:25:01 2011 New Revision: 1058700 URL: http://svn.apache.org/viewvc?rev=1058700&view=rev Log: Fix from Jonatan's comment here https://issues.apache.org/jira/browse/OFBIZ-3978?focusedCommentId=12925320&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12925320
I found an error in applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js on getAssociatedStateList function. jQuery.ajax({ url: requestToSend, sync: false, type: "POST", data: {countryGeoId: countryGeoId}, success: function(data) { sync:false should be replaced by async:true. Modified: ofbiz/trunk/applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js Modified: ofbiz/trunk/applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js?rev=1058700&r1=1058699&r2=1058700&view=diff ============================================================================== --- ofbiz/trunk/applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js (original) +++ ofbiz/trunk/applications/order/webapp/ordermgr/images/js/geoAutoCompleter.js Thu Jan 13 18:25:01 2011 @@ -86,7 +86,7 @@ function getAssociatedStateList(countryI } jQuery.ajax({ url: requestToSend, - sync: false, + async: true, type: "POST", data: {countryGeoId: countryGeoId}, success: function(data) {