Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Vakeesan committed Apr 13, 2021
1 parent 841af1c commit dd246e5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fields/civicrm_state/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@

<?php ob_start(); ?>
<script type="text/javascript">
// MTL Fix Start - CIH-14 - https://github.com/mecachisenros/cf-civicrm/issues/178
//jQuery( document ).ready( function( $ ) {
( function( $ ) {
// MTL Fix End - CIH-14 - https://github.com/mecachisenros/cf-civicrm/issues/178
var countryFieldId = '<?php isset( $country_field ) ? esc_attr_e( $country_field['ID'] ) : print( 'false' ); ?>',
placeholder = '<?php echo esc_attr( $field['config']['placeholder'] ); ?>';

Expand Down Expand Up @@ -86,10 +83,7 @@
init( stateField ).val( defaultValue ).cfcSelect2();
}
} );
// MTL Fix Start - CIH-14 - https://github.com/mecachisenros/cf-civicrm/issues/178
// } );
})(jQuery);
// MTL Fix End - CIH-14 - https://github.com/mecachisenros/cf-civicrm/issues/178
</script>
<?php
$script_template = ob_get_clean();
Expand Down

0 comments on commit dd246e5

Please sign in to comment.