@xuda.io/runtime-bundle 1.0.1294 → 1.0.1296
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 +18 -7
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +18 -7
- package/js/xuda-runtime-slim.min.es.js +18 -7
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +18 -7
- package/js/xuda-worker-bundle.js +18 -7
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -30217,13 +30217,24 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30217
30217
|
}
|
|
30218
30218
|
|
|
30219
30219
|
if (field_id === 'watcher') {
|
|
30220
|
-
|
|
30221
|
-
|
|
30222
|
-
|
|
30223
|
-
|
|
30224
|
-
|
|
30225
|
-
|
|
30226
|
-
|
|
30220
|
+
if (!server_datasource_changes[dataSource]) {
|
|
30221
|
+
server_datasource_changes[dataSource] = {};
|
|
30222
|
+
}
|
|
30223
|
+
if (!server_datasource_changes[dataSource][record_id]) {
|
|
30224
|
+
server_datasource_changes[dataSource][record_id] = {};
|
|
30225
|
+
}
|
|
30226
|
+
server_datasource_changes[dataSource][record_id][field_id] = value;
|
|
30227
|
+
|
|
30228
|
+
if (!update_local_scope_only) {
|
|
30229
|
+
const ret = await func.index.call_worker(SESSION_ID, {
|
|
30230
|
+
service: 'update_datasource_changes_from_client',
|
|
30231
|
+
data: {
|
|
30232
|
+
session_id: SESSION_ID,
|
|
30233
|
+
datasource_changes: server_datasource_changes,
|
|
30234
|
+
},
|
|
30235
|
+
id: _ds.worker_id,
|
|
30236
|
+
});
|
|
30237
|
+
}
|
|
30227
30238
|
|
|
30228
30239
|
await func.UI.screen.refresh_screen(
|
|
30229
30240
|
SESSION_ID,
|