@xuda.io/runtime-bundle 1.0.1069 → 1.0.1070
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12669,10 +12669,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12669
12669
|
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
12670
12670
|
let new_$div = UI_WORKER_OBJ?.xu_render_cache?.[xu_ui_id + xu_render_cache_id]?.$div.clone(true);
|
|
12671
12671
|
|
|
12672
|
-
if (!new_$div
|
|
12672
|
+
if (!new_$div) {
|
|
12673
12673
|
// validate if $div contains fields from parent ds
|
|
12674
12674
|
const parent_fields = get_parent_ds_fields(SESSION_ID, paramsP.dsSessionP);
|
|
12675
|
-
const div_str = JSON.stringify(new_$div
|
|
12675
|
+
const div_str = JSON.stringify(new_$div.children());
|
|
12676
12676
|
let found = false;
|
|
12677
12677
|
for (const [key, val] of Object.entries(parent_fields)) {
|
|
12678
12678
|
if (div_str.includes('@' + key)) {
|
|
@@ -10394,10 +10394,10 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10394
10394
|
const xu_ui_id = $elm.attr('xu-ui-id');
|
|
10395
10395
|
let new_$div = UI_WORKER_OBJ?.xu_render_cache?.[xu_ui_id + xu_render_cache_id]?.$div.clone(true);
|
|
10396
10396
|
|
|
10397
|
-
if (!new_$div
|
|
10397
|
+
if (!new_$div) {
|
|
10398
10398
|
// validate if $div contains fields from parent ds
|
|
10399
10399
|
const parent_fields = get_parent_ds_fields(SESSION_ID, paramsP.dsSessionP);
|
|
10400
|
-
const div_str = JSON.stringify(new_$div
|
|
10400
|
+
const div_str = JSON.stringify(new_$div.children());
|
|
10401
10401
|
let found = false;
|
|
10402
10402
|
for (const [key, val] of Object.entries(parent_fields)) {
|
|
10403
10403
|
if (div_str.includes('@' + key)) {
|