@xuda.io/runtime-bundle 1.0.393 → 1.0.395

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