@xuda.io/runtime-bundle 1.0.391 → 1.0.392

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.
@@ -9043,7 +9043,7 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
9043
9043
  }
9044
9044
  };
9045
9045
 
9046
- func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
9046
+ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9047
9047
  const _session = SESSION_OBJ[SESSION_ID];
9048
9048
  let _ds_0 = _session.DS_GLB[0];
9049
9049
 
@@ -9052,7 +9052,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
9052
9052
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
9053
9053
  const data = _ds?.data_feed?.rows?.[row_idx] || {};
9054
9054
 
9055
- let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value];
9055
+ let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
9056
9056
 
9057
9057
  if (!SYS_GLOBAL_OBJ_REFS) {
9058
9058
  SYS_GLOBAL_OBJ_REFS = { ds: _ds, data };
@@ -9044,7 +9044,7 @@ func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)
9044
9044
  }
9045
9045
  };
9046
9046
 
9047
- func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
9047
+ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9048
9048
  const _session = SESSION_OBJ[SESSION_ID];
9049
9049
  let _ds_0 = _session.DS_GLB[0];
9050
9050
 
@@ -9053,7 +9053,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, $elm) {
9053
9053
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
9054
9054
  const data = _ds?.data_feed?.rows?.[row_idx] || {};
9055
9055
 
9056
- let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value];
9056
+ let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
9057
9057
 
9058
9058
  if (!SYS_GLOBAL_OBJ_REFS) {
9059
9059
  SYS_GLOBAL_OBJ_REFS = { ds: _ds, data };