first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php include st_admin_get_template_path(__FILE__) ?>
|
||||
|
||||
<script>
|
||||
jQuery(function($) {
|
||||
$('#config_payment_channels_enabled').change(function() {
|
||||
const fields = $('.row_report_key, .row_channels, .row_highlighted_for_product, .row_highlighted_for_basket');
|
||||
if ($(this).prop('checked')) {
|
||||
fields.removeClass('hidden');
|
||||
} else {
|
||||
fields.addClass('hidden');
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user