Skip to content

Commit

Permalink
Import - Fix warning on "Match Fields" step, by way of crmDefault/pus…
Browse files Browse the repository at this point in the history
…hScope
  • Loading branch information
totten committed Jun 29, 2022
1 parent d6b4d0d commit 1a902c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/CRM/Contact/Import/Form/MapField.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ if ( document.getElementsByName("saveMapping")[0].checked ) {
document.getElementsByName("saveMapping")[0].checked = false;
}
{/literal}
{crmDefault isCheked=0}
{if $isCheked}
document.getElementsByName("saveMapping")[0].checked = true;
{/if}
{/crmDefault}
</script>
<div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
Expand Down

0 comments on commit 1a902c1

Please sign in to comment.