|
|
|
@ -557,7 +557,13 @@
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$('#PcAmp input').on('change', function(){
|
|
|
|
|
var checked = $(this).is(':checked');
|
|
|
|
|
checked ? meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'yes') : meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'no');
|
|
|
|
|
if(checked) {
|
|
|
|
|
meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'yes');
|
|
|
|
|
editor.readonly(true);
|
|
|
|
|
} else {
|
|
|
|
|
meta('save', '<?php echo $information->ic_id; ?>', 'AMP_BODY_PC_STATUS', 'no');
|
|
|
|
|
editor.readonly(false);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<?php } ?>
|
|
|
|
|