Commit 043d08a0 authored by mattwire's avatar mattwire
Browse files

Fix js console error when locationTypes not defined

parent e004c066
......@@ -4,7 +4,7 @@
</style>
<script type="text/javascript">
cj(document).ready(function(){
var locationTypes = {/literal}{$civiPostCodeLookupLocationTypeJson}{literal};
var locationTypes = {/literal}{if $civiPostCodeLookupLocationTypeJson}{$civiPostCodeLookupLocationTypeJson}{else}''{/if}{literal};
var blockId = '';
var blockNo = '';
if (cj('#editrow-street_address-Primary').length > 0 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment