@xuda.io/runtime-bundle 1.0.354 → 1.0.355
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.
- package/js/xuda-runtime-bundle.js +11 -1
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +11 -1
- package/js/xuda-runtime-slim.min.es.js +11 -1
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +11 -1
- package/js/xuda-worker-bundle.js +11 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -30109,6 +30109,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30109
30109
|
_ds.data_feed.rows[row_idx][field_id] = value;
|
|
30110
30110
|
await set_fieldComputed_dependencies(dataSource, field_id, null);
|
|
30111
30111
|
|
|
30112
|
+
// search the field in refs
|
|
30113
|
+
let _ds_0 = _session.DS_GLB[0];
|
|
30114
|
+
for ([ref_name, val] of Object.entries(_ds_0.data_system['SYS_GLOBAL_OBJ_REFS'])) {
|
|
30115
|
+
if (val.dsSession == dataSource) {
|
|
30116
|
+
if (!fields_changed.includes(ref_name)) {
|
|
30117
|
+
fields_changed.push(ref_name);
|
|
30118
|
+
}
|
|
30119
|
+
}
|
|
30120
|
+
}
|
|
30121
|
+
|
|
30112
30122
|
if (!update_local_scope_only) {
|
|
30113
30123
|
let tree_ret = await func.utils.TREE_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
30114
30124
|
if (glb.IS_WORKER) {
|
|
@@ -30180,8 +30190,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30180
30190
|
}
|
|
30181
30191
|
///// REFRESH SCREEN
|
|
30182
30192
|
if (!avoid_refresh && fields_changed.length) {
|
|
30183
|
-
// await removed from the below function cause to dead lock Mar 3 25
|
|
30184
30193
|
await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
30194
|
+
// await removed from the below function cause to dead lock Mar 3 25
|
|
30185
30195
|
func.UI.screen.refresh_screen(
|
|
30186
30196
|
SESSION_ID,
|
|
30187
30197
|
fields_changed,
|