@xuda.io/runtime-bundle 1.0.397 → 1.0.398

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.
@@ -9054,17 +9054,17 @@ 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[ref_field_id]) {
9058
- SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
9057
+ if (!SYS_GLOBAL_OBJ_REFS) {
9058
+ SYS_GLOBAL_OBJ_REFS = {};
9059
9059
  }
9060
- SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;
9061
- SYS_GLOBAL_OBJ_REFS[ref_field_id].data = data;
9060
+ SYS_GLOBAL_OBJ_REFS.ds = _ds;
9061
+ SYS_GLOBAL_OBJ_REFS.data = data;
9062
9062
 
9063
9063
  if ($elm) {
9064
9064
  // const props = _ds.in_parameters || {};
9065
9065
  // const attributes = $elm?.data()?.xuData?.properties || {};
9066
9066
 
9067
- SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
9067
+ SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
9068
9068
  }
9069
9069
  };
9070
9070
  func.events = {};
@@ -9055,17 +9055,17 @@ 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[ref_field_id]) {
9059
- SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
9058
+ if (!SYS_GLOBAL_OBJ_REFS) {
9059
+ SYS_GLOBAL_OBJ_REFS = {};
9060
9060
  }
9061
- SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;
9062
- SYS_GLOBAL_OBJ_REFS[ref_field_id].data = data;
9061
+ SYS_GLOBAL_OBJ_REFS.ds = _ds;
9062
+ SYS_GLOBAL_OBJ_REFS.data = data;
9063
9063
 
9064
9064
  if ($elm) {
9065
9065
  // const props = _ds.in_parameters || {};
9066
9066
  // const attributes = $elm?.data()?.xuData?.properties || {};
9067
9067
 
9068
- SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
9068
+ SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
9069
9069
  }
9070
9070
  };
9071
9071
  func.UI.screen = {};