@xuda.io/runtime-bundle 1.0.733 → 1.0.735
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
|
@@ -11639,13 +11639,16 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11639
11639
|
if (!elem_val?.$elm?.data()?.xuAttributes) continue;
|
|
11640
11640
|
|
|
11641
11641
|
if (elem_val.attributes.includes('xu-exp:xu-render')) {
|
|
11642
|
-
|
|
11643
|
-
|
|
11642
|
+
try {
|
|
11643
|
+
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
11644
|
+
} catch (error) {
|
|
11645
|
+
debugger;
|
|
11646
|
+
}
|
|
11644
11647
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
11645
11648
|
|
|
11646
|
-
if (!attr_value
|
|
11649
|
+
if (!attr_value && elem_val.$elm[0].tagName === 'XURENDER') continue; // bypass job
|
|
11647
11650
|
|
|
11648
|
-
if (attr_value
|
|
11651
|
+
if (attr_value && elem_val.$elm[0].tagName !== 'XURENDER') {
|
|
11649
11652
|
await add_execute_queue('execute_xu_all_attributes');
|
|
11650
11653
|
|
|
11651
11654
|
continue; // bypass render job
|
|
@@ -9349,13 +9349,16 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9349
9349
|
if (!elem_val?.$elm?.data()?.xuAttributes) continue;
|
|
9350
9350
|
|
|
9351
9351
|
if (elem_val.attributes.includes('xu-exp:xu-render')) {
|
|
9352
|
-
|
|
9353
|
-
|
|
9352
|
+
try {
|
|
9353
|
+
var res = await func.expression.get(SESSION_ID, elem_val.$elm.data().xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
|
|
9354
|
+
} catch (error) {
|
|
9355
|
+
debugger;
|
|
9356
|
+
}
|
|
9354
9357
|
var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
|
|
9355
9358
|
|
|
9356
|
-
if (!attr_value
|
|
9359
|
+
if (!attr_value && elem_val.$elm[0].tagName === 'XURENDER') continue; // bypass job
|
|
9357
9360
|
|
|
9358
|
-
if (attr_value
|
|
9361
|
+
if (attr_value && elem_val.$elm[0].tagName !== 'XURENDER') {
|
|
9359
9362
|
await add_execute_queue('execute_xu_all_attributes');
|
|
9360
9363
|
|
|
9361
9364
|
continue; // bypass render job
|