@xuda.io/runtime-bundle 1.0.472 → 1.0.474

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.
@@ -32076,8 +32076,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32076
32076
  return ret;
32077
32077
  },
32078
32078
  'xu-ref': async function ($elm, val) {
32079
- const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
32080
- let ret = await common_fx['xu-ref']($wrapper, val);
32079
+ // const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
32080
+ let ret = await common_fx['xu-ref']($container, val);
32081
32081
  return ret;
32082
32082
  },
32083
32083
  },
@@ -32143,6 +32143,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32143
32143
  // Select the node that will be observed for mutations
32144
32144
  const targetNode = $elm[0];
32145
32145
 
32146
+ if (!targetNode) return;
32147
+
32146
32148
  // Options for the observer (which mutations to observe)
32147
32149
  const config = { attributes: true, childList: true, subtree: true };
32148
32150