@xuda.io/runtime-bundle 1.0.471 → 1.0.473
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.
|
@@ -32011,9 +32011,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32011
32011
|
|
|
32012
32012
|
ret = await render_panel();
|
|
32013
32013
|
|
|
32014
|
-
// if (val.value) {
|
|
32015
|
-
// ret = await render_panel();
|
|
32016
|
-
// }
|
|
32017
32014
|
return ret;
|
|
32018
32015
|
};
|
|
32019
32016
|
const alter_program = async function () {
|
|
@@ -32079,7 +32076,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32079
32076
|
return ret;
|
|
32080
32077
|
},
|
|
32081
32078
|
'xu-ref': async function ($elm, val) {
|
|
32082
|
-
|
|
32079
|
+
const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
|
|
32080
|
+
let ret = await common_fx['xu-ref']($wrapper, val);
|
|
32083
32081
|
return ret;
|
|
32084
32082
|
},
|
|
32085
32083
|
},
|
|
@@ -32145,6 +32143,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32145
32143
|
// Select the node that will be observed for mutations
|
|
32146
32144
|
const targetNode = $elm[0];
|
|
32147
32145
|
|
|
32146
|
+
if (!targetNode) return;
|
|
32147
|
+
|
|
32148
32148
|
// Options for the observer (which mutations to observe)
|
|
32149
32149
|
const config = { attributes: true, childList: true, subtree: true };
|
|
32150
32150
|
|