Skip to content

Commit

Permalink
Merge pull request #25882 from lemniscus/tagset-tpl
Browse files Browse the repository at this point in the history
Skip adding script when it won't have anything to run on
  • Loading branch information
colemanw authored Mar 20, 2023
2 parents 5894635 + aa6f261 commit a48af7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/CRM/common/Tagset.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</td>
{/if}

{if empty($skipEntityAction) and empty($form.frozen)}
{if !empty($tagsetInfo) and empty($skipEntityAction) and empty($form.frozen)}
<script type="text/javascript">
{* Add/remove entity tags via ajax api *}
{literal}
Expand Down

0 comments on commit a48af7f

Please sign in to comment.