From 9e1f1471e914f51265e528832a7b9ffd016f8960 Mon Sep 17 00:00:00 2001 From: Kurund Jalmi Date: Wed, 24 Apr 2013 16:12:32 -0700 Subject: [PATCH] worked on CRM-12407, ajax events are fired for each of the multiple of data instance simultaneously this causes race condition and casuses random breaks, hence changing ajax request to use async mode. --- templates/CRM/common/customData.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/CRM/common/customData.tpl b/templates/CRM/common/customData.tpl index ef0317bdf7..4635212b4b 100644 --- a/templates/CRM/common/customData.tpl +++ b/templates/CRM/common/customData.tpl @@ -97,6 +97,7 @@ CRM.buildCustomData = function( type, subType, subName, cgCount, groupID, isMult cj.ajax({ url: dataUrl, dataType: 'html', + async: false, success: function(response) { var target = cj(fname); var storage = {}; -- 2.25.1