@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.
@@ -28234,17 +28234,16 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
28234
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
- SYS_GLOBAL_OBJ_REFS = { ds: _ds, data };
28238
- } else {
28239
- SYS_GLOBAL_OBJ_REFS.ds = _ds;
28240
- SYS_GLOBAL_OBJ_REFS.data = data;
28237
+ SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
28238
+ }
28239
+ SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;
28240
+ SYS_GLOBAL_OBJ_REFS[ref_field_id].data = data;
28241
28241
 
28242
- if ($elm) {
28243
- // const props = _ds.in_parameters || {};
28244
- // const attributes = $elm?.data()?.xuData?.properties || {};
28242
+ if ($elm) {
28243
+ // const props = _ds.in_parameters || {};
28244
+ // const attributes = $elm?.data()?.xuData?.properties || {};
28245
28245
 
28246
- SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
28247
- }
28246
+ SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
28248
28247
  }
28249
28248
  };
28250
28249
  func.datasource = {};