From 894ec8a6f2ac62edbac7b3b6a88e3666f335c673 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 15 May 2026 15:08:42 +0000
Subject: [PATCH] =Refactor of CustomBlocks.php to move a majority of the logic to the pre_render_field instead of render_field, and adding support for more blocks
---
assets/js/concise/UtilityFunctions.js | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/assets/js/concise/UtilityFunctions.js b/assets/js/concise/UtilityFunctions.js
index 2731174..ca5944e 100644
--- a/assets/js/concise/UtilityFunctions.js
+++ b/assets/js/concise/UtilityFunctions.js
@@ -418,9 +418,13 @@
console.warn('prefixInput called with null/undefined input');
return;
}
+ // console.log('Prefixing input: ', input);
+ // console.log('With prefix: ', prefix);
+ // console.log('Wrapper: ', wrapper);
const oldId = input.id;
const newId = replace ? prefix : `${prefix}${input.name}`;
-
+ // console.log('Old ID: ', oldId);
+ // console.log('New ID: ', newId);
// Search for label within wrapper if provided, otherwise use existing logic
let label = null;
--
Gitblit v1.10.0