@xuda.io/runtime-bundle 1.0.398 → 1.0.399
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.
|
@@ -28231,19 +28231,19 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28231
28231
|
const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
|
|
28232
28232
|
const data = _ds?.data_feed?.rows?.[row_idx] || {};
|
|
28233
28233
|
|
|
28234
|
-
let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS']
|
|
28234
|
+
let SYS_GLOBAL_OBJ_REFS = _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'];
|
|
28235
28235
|
|
|
28236
|
-
if (!SYS_GLOBAL_OBJ_REFS) {
|
|
28237
|
-
SYS_GLOBAL_OBJ_REFS = {};
|
|
28236
|
+
if (!SYS_GLOBAL_OBJ_REFS[ref_field_id]) {
|
|
28237
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id] = {};
|
|
28238
28238
|
}
|
|
28239
|
-
SYS_GLOBAL_OBJ_REFS.ds = _ds;
|
|
28240
|
-
SYS_GLOBAL_OBJ_REFS.data = data;
|
|
28239
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].ds = _ds;
|
|
28240
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].data = data;
|
|
28241
28241
|
|
|
28242
28242
|
if ($elm) {
|
|
28243
28243
|
// const props = _ds.in_parameters || {};
|
|
28244
28244
|
// const attributes = $elm?.data()?.xuData?.properties || {};
|
|
28245
28245
|
|
|
28246
|
-
SYS_GLOBAL_OBJ_REFS.xu_ui_id = $elm.attr('xu-ui-id');
|
|
28246
|
+
SYS_GLOBAL_OBJ_REFS[ref_field_id].xu_ui_id = $elm.attr('xu-ui-id');
|
|
28247
28247
|
}
|
|
28248
28248
|
};
|
|
28249
28249
|
func.datasource = {};
|