职位editor状态

hotfix/远程访问多媒体中心
lmrwork 7 years ago
parent 86e18ac824
commit b45373a2ce

@ -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 } ?>

Loading…
Cancel
Save