Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
1188c7a8 | 3 | | Copyright CiviCRM LLC. All rights reserved. | |
6a488035 | 4 | | | |
1188c7a8 TO |
5 | | This work is published under the GNU AGPLv3 license with some | |
6 | | permitted exceptions and without any warranty. For full license | | |
7 | | and copyright information, see https://civicrm.org/licensing | | |
6a488035 TO |
8 | +--------------------------------------------------------------------+ |
9 | *} | |
10 | {if $trackingFields and ! empty($trackingFields)} | |
11 | {literal} | |
12 | <script type="text/javascript"> | |
3cc60a06 | 13 | CRM.$(function($) { |
6a488035 TO |
14 | {/literal} |
15 | {foreach from=$trackingFields key=trackingFieldName item=dontCare} | |
ae8f569f | 16 | $("#{$trackingFieldName}").parent().parent().hide( ); |
6a488035 TO |
17 | {/foreach} |
18 | {literal} | |
19 | } | |
20 | ); | |
21 | </script> | |
22 | {/literal} | |
232624b1 | 23 | {/if} |