fix: [app:js] Removed log forgotten console log output
parent
6ff8eb6a91
commit
06d9f02998
|
@ -97,7 +97,6 @@ echo $this->Html->scriptBlock(sprintf(
|
||||||
|
|
||||||
function submitMigration() {
|
function submitMigration() {
|
||||||
const $form = $('.to-save-container form')
|
const $form = $('.to-save-container form')
|
||||||
console.log($form.attr('action'));
|
|
||||||
AJAXApi.quickPostForm($form[0]).then((postResult) => {
|
AJAXApi.quickPostForm($form[0]).then((postResult) => {
|
||||||
if (postResult.additionalData.redirect.url !== undefined) {
|
if (postResult.additionalData.redirect.url !== undefined) {
|
||||||
window.location = postResult.additionalData.redirect.url
|
window.location = postResult.additionalData.redirect.url
|
||||||
|
|
|
@ -102,7 +102,6 @@ echo $this->element('genericElements/Form/genericForm', [
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
const entity = <?= json_encode($entity) ?>;
|
const entity = <?= json_encode($entity) ?>;
|
||||||
console.log(entity);
|
|
||||||
if (entity.MetaTemplates) {
|
if (entity.MetaTemplates) {
|
||||||
for (const [metaTemplateId, metaTemplate] of Object.entries(entity.MetaTemplates)) {
|
for (const [metaTemplateId, metaTemplate] of Object.entries(entity.MetaTemplates)) {
|
||||||
for (const [metaTemplateFieldId, metaTemplateField] of Object.entries(metaTemplate.meta_template_fields)) {
|
for (const [metaTemplateFieldId, metaTemplateField] of Object.entries(metaTemplate.meta_template_fields)) {
|
||||||
|
|
|
@ -145,7 +145,6 @@ echo $this->Bootstrap->badge([
|
||||||
.data('sync-status', status)
|
.data('sync-status', status)
|
||||||
.click(function() {
|
.click(function() {
|
||||||
const syncStatusData = $(this).data('sync-status')['data']
|
const syncStatusData = $(this).data('sync-status')['data']
|
||||||
console.log(syncStatusData);
|
|
||||||
let rearrangedStatusData = []
|
let rearrangedStatusData = []
|
||||||
for (const [field, values] of Object.entries(syncStatusData)) {
|
for (const [field, values] of Object.entries(syncStatusData)) {
|
||||||
if (field !== 'meta_fields') {
|
if (field !== 'meta_fields') {
|
||||||
|
|
Loading…
Reference in New Issue