@xuda.io/runtime-bundle 1.0.911 → 1.0.912
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
|
@@ -12734,6 +12734,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12734
12734
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
12735
12735
|
const trigger = val.key.split('xu-on:')[1].toLowerCase();
|
|
12736
12736
|
$elm.on(trigger, async function (evt) {
|
|
12737
|
+
if (_.isEmpty($elm.data().xuAttributes)) return;
|
|
12738
|
+
|
|
12737
12739
|
for await (const [key, val] of Object.entries($elm.data().xuAttributes['xu-on:' + evt.type])) {
|
|
12738
12740
|
if (!_.isEmpty(val.props.condition)) {
|
|
12739
12741
|
const expCond = await func.expression.get(SESSION_ID, val.props.condition, paramsP.dsSessionP, 'condition', paramsP.recordid); // execute expression
|
|
@@ -10461,6 +10461,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10461
10461
|
CLIENT_ACTIVITY_TS = Date.now();
|
|
10462
10462
|
const trigger = val.key.split('xu-on:')[1].toLowerCase();
|
|
10463
10463
|
$elm.on(trigger, async function (evt) {
|
|
10464
|
+
if (_.isEmpty($elm.data().xuAttributes)) return;
|
|
10465
|
+
|
|
10464
10466
|
for await (const [key, val] of Object.entries($elm.data().xuAttributes['xu-on:' + evt.type])) {
|
|
10465
10467
|
if (!_.isEmpty(val.props.condition)) {
|
|
10466
10468
|
const expCond = await func.expression.get(SESSION_ID, val.props.condition, paramsP.dsSessionP, 'condition', paramsP.recordid); // execute expression
|