@xuda.io/runtime-bundle 1.0.395 → 1.0.397

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.
@@ -5146,7 +5146,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5146
5146
  let _ds_0 = _session.DS_GLB[0];
5147
5147
  for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5148
5148
  if (val.ds.dsSession == dataSource) {
5149
- func.UI.update_xu_ref(SESSION_ID, dataSource);
5149
+ func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
5150
5150
  // if (!fields_changed.includes(ref_name)) {
5151
5151
  // fields_changed.push(ref_name);
5152
5152
  // }
@@ -9054,7 +9054,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9054
9054
 
9055
9055
  let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
9056
9056
 
9057
- if (!SYS_GLOBAL_OBJ_REFS) {
9057
+ if (!SYS_GLOBAL_OBJ_REFS[ref_field_id]) {
9058
9058
  SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
9059
9059
  }
9060
9060
  SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;
@@ -5147,7 +5147,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5147
5147
  let _ds_0 = _session.DS_GLB[0];
5148
5148
  for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
5149
5149
  if (val.ds.dsSession == dataSource) {
5150
- func.UI.update_xu_ref(SESSION_ID, dataSource);
5150
+ func.UI.update_xu_ref(SESSION_ID, dataSource, ref_name);
5151
5151
  // if (!fields_changed.includes(ref_name)) {
5152
5152
  // fields_changed.push(ref_name);
5153
5153
  // }
@@ -9055,7 +9055,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
9055
9055
 
9056
9056
  let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][ref_field_id];
9057
9057
 
9058
- if (!SYS_GLOBAL_OBJ_REFS) {
9058
+ if (!SYS_GLOBAL_OBJ_REFS[ref_field_id]) {
9059
9059
  SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
9060
9060
  }
9061
9061
  SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;