fix: [app:js] Removed log forgotten console log output

refacto/CRUDComponent
Sami Mokaddem 2023-03-21 09:49:48 +01:00
parent 6ff8eb6a91
commit 06d9f02998
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
3 changed files with 0 additions and 3 deletions

View File

@ -97,7 +97,6 @@ echo $this->Html->scriptBlock(sprintf(
function submitMigration() {
const $form = $('.to-save-container form')
console.log($form.attr('action'));
AJAXApi.quickPostForm($form[0]).then((postResult) => {
if (postResult.additionalData.redirect.url !== undefined) {
window.location = postResult.additionalData.redirect.url

View File

@ -102,7 +102,6 @@ echo $this->element('genericElements/Form/genericForm', [
<script>
$(document).ready(function() {
const entity = <?= json_encode($entity) ?>;
console.log(entity);
if (entity.MetaTemplates) {
for (const [metaTemplateId, metaTemplate] of Object.entries(entity.MetaTemplates)) {
for (const [metaTemplateFieldId, metaTemplateField] of Object.entries(metaTemplate.meta_template_fields)) {

View File

@ -145,7 +145,6 @@ echo $this->Bootstrap->badge([
.data('sync-status', status)
.click(function() {
const syncStatusData = $(this).data('sync-status')['data']
console.log(syncStatusData);
let rearrangedStatusData = []
for (const [field, values] of Object.entries(syncStatusData)) {
if (field !== 'meta_fields') {