Commit | Line | Data |
---|---|---|
67bb6495 | 1 | {if $customDataType} |
2 | <div id="customData"></div> | |
3 | {*include custom data js file*} | |
4 | {include file="CRM/common/customData.tpl"} | |
5 | {literal} | |
6 | <script type="text/javascript"> | |
7 | CRM.$(function($) { | |
8 | {/literal} | |
67bb6495 | 9 | {if $customDataSubType} |
51a6bf4f MWMC |
10 | CRM.buildCustomData('{$customDataType}', {$customDataSubType}); |
11 | {else} | |
12 | CRM.buildCustomData('{$customDataType}'); | |
67bb6495 | 13 | {/if} |
14 | {literal} | |
15 | }); | |
16 | </script> | |
17 | {/literal} | |
18 | {/if} |