projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #14948 from civicrm/5.16
[civicrm-core.git]
/
templates
/
CRM
/
common
/
customDataBlock.tpl
diff --git
a/templates/CRM/common/customDataBlock.tpl
b/templates/CRM/common/customDataBlock.tpl
index 21adcb8867b05b43a51a33ad59e925e9ca9ca2b4..d98b4a996af720665eeeb5c4a21fbcf2dbd006b2 100644
(file)
--- a/
templates/CRM/common/customDataBlock.tpl
+++ b/
templates/CRM/common/customDataBlock.tpl
@@
-6,9
+6,10
@@
<script type="text/javascript">
CRM.$(function($) {
{/literal}
<script type="text/javascript">
CRM.$(function($) {
{/literal}
- CRM.buildCustomData( '{$customDataType}' );
{if $customDataSubType}
{if $customDataSubType}
- CRM.buildCustomData( '{$customDataType}', {$customDataSubType} );
+ CRM.buildCustomData('{$customDataType}', {$customDataSubType});
+ {else}
+ CRM.buildCustomData('{$customDataType}');
{/if}
{literal}
});
{/if}
{literal}
});