@xuda.io/runtime-bundle 1.0.391 → 1.0.393

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.
@@ -28222,7 +28222,7 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
28222
28222
  }
28223
28223
  };
28224
28224
 
28225
- func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
28225
+ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28226
28226
  const _session = SESSION_OBJ[SESSION_ID];
28227
28227
  let _ds_0 = _session.DS_GLB[0];
28228
28228
 
@@ -28231,7 +28231,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
28231
28231
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
28232
28232
  const data = _ds?.data_feed?.rows?.[row_idx] || {};
28233
28233
 
28234
- let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value];
28234
+ let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
28235
28235
 
28236
28236
  if (!SYS_GLOBAL_OBJ_REFS) {
28237
28237
  SYS_GLOBAL_OBJ_REFS = { ds: _ds, data };
@@ -31988,7 +31988,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
31988
31988
 
31989
31989
  const common_fx = {
31990
31990
  'xu-ref': async function ($elm, val) {
31991
- func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, $elm);
31991
+ func.UI.update_xu_ref(SESSION_ID, paramsP.dsSessionP, val.value, $elm);
31992
31992
  // const _session = SESSION_OBJ[SESSION_ID];
31993
31993
  // let _ds_0 = _session.DS_GLB[0];
31994
31994