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:
da51300
)
CRM-16676 - Fix custom data target containers
author
Coleman Watts
<coleman@civicrm.org>
Thu, 2 Jul 2015 16:46:51 +0000
(12:46 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Thu, 2 Jul 2015 16:46:51 +0000
(12:46 -0400)
templates/CRM/common/customData.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/common/customData.tpl
b/templates/CRM/common/customData.tpl
index 907871a35f886ffed47b24a984eaca8401fe11f1..0b8d6467d8d35f4f45913afd4d5d0844fdf57edb 100644
(file)
--- a/
templates/CRM/common/customData.tpl
+++ b/
templates/CRM/common/customData.tpl
@@
-29,7
+29,7
@@
CRM.buildCustomData = function (type, subType, subName, cgCount, groupID, isMultiple) {
var dataUrl = CRM.url('civicrm/custom', {type: type}),
prevCount = 1,
- fname,
+ fname
= '#customData'
,
storage = {};
if (subType) {
@@
-79,8
+79,8
@@
$("#add-more-link-" + prevCount).hide();
}
}
- else {
- fname
= '#customData' + (subName && subName != 'null') ? subName : ''
;
+ else
if (subName && subName != 'null')
{
+ fname
+= subName
;
}
CRM.loadPage(dataUrl, {target: fname});