@xuda.io/runtime-bundle 1.0.914 → 1.0.915
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.
|
@@ -32435,12 +32435,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32435
32435
|
if (val.handler === 'custom') {
|
|
32436
32436
|
// do BL
|
|
32437
32437
|
for await (const [key2, val2] of Object.entries(val.event)) {
|
|
32438
|
-
var cond = val2.data.enabled;
|
|
32439
|
-
if (val2.data.enabled && val2.props.condition) {
|
|
32440
|
-
|
|
32441
|
-
|
|
32442
|
-
}
|
|
32443
|
-
if (!cond) continue;
|
|
32438
|
+
// var cond = val2.data.enabled;
|
|
32439
|
+
// if (val2.data.enabled && val2.props.condition) {
|
|
32440
|
+
// expCond = await func.expression.get(SESSION_ID, val2.props.condition, paramsP.dsSessionP, 'condition', paramsP.recordid); // execute expression
|
|
32441
|
+
// cond = expCond.result;
|
|
32442
|
+
// }
|
|
32443
|
+
// if (!cond) continue;
|
|
32444
|
+
|
|
32445
|
+
if (!val2.data.enabled) continue; // added Jul 3, 25 - condition validate on execution
|
|
32444
32446
|
|
|
32445
32447
|
func.events.add_to_queue(SESSION_ID, 'element event', val2.id, evt.type, val2.data.action, val2.data.name, null, $elm.attr('xu-ui-id'), null, evt, null, null, null, paramsP.dsSessionP, null, null, null, evt.type, val2.data.name, null, null, val2, null, null, null, null, null, null);
|
|
32446
32448
|
}
|