projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b626f2
)
worked on CRM-12407, ajax events are fired for each of the multiple of
author
Kurund Jalmi
<kurund@civicrm.org>
Wed, 24 Apr 2013 23:12:32 +0000
(16:12 -0700)
committer
Kurund Jalmi
<kurund@civicrm.org>
Wed, 24 Apr 2013 23:13:17 +0000
(16:13 -0700)
data instance simultaneously this causes race condition and casuses
random breaks, hence changing ajax request to use async mode.
templates/CRM/common/customData.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/common/customData.tpl
b/templates/CRM/common/customData.tpl
index ef0317bdf74e48fd2fcd0789787a70107bb62e55..4635212b4bf8608354ebe7670fb71a35b3697ec3 100644
(file)
--- 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 = {};