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} | |
9 | CRM.buildCustomData( '{$customDataType}' ); | |
10 | {if $customDataSubType} | |
11 | CRM.buildCustomData( '{$customDataType}', {$customDataSubType} ); | |
12 | {/if} | |
13 | {literal} | |
14 | }); | |
15 | </script> | |
16 | {/literal} | |
17 | {/if} |