@xuda.io/runtime-bundle 1.0.1283 → 1.0.1285
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 +14 -2
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +14 -2
- package/js/xuda-runtime-slim.min.es.js +14 -2
- 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 -0
- package/js/xuda-worker-bundle.js +11 -0
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -28232,8 +28232,9 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
28232
28232
|
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
28233
28233
|
|
|
28234
28234
|
// _.set(_session.DS_GLB[dsSessionP].watcher, change.path, change.newValue);
|
|
28235
|
-
|
|
28236
|
-
|
|
28235
|
+
setTimeout(() => {
|
|
28236
|
+
func.action.execute(SESSION_ID, 'act_refresh', _session.DS_GLB[dsSessionP], null, null, null, $elm);
|
|
28237
|
+
}, 1000);
|
|
28237
28238
|
} catch (error) {}
|
|
28238
28239
|
});
|
|
28239
28240
|
|
|
@@ -30214,6 +30215,17 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30214
30215
|
fields_changed.push(field_id);
|
|
30215
30216
|
datasource_changed.push(dataSource);
|
|
30216
30217
|
}
|
|
30218
|
+
|
|
30219
|
+
if (field_id === 'watcher') {
|
|
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
|
+
|
|
30217
30229
|
continue;
|
|
30218
30230
|
}
|
|
30219
30231
|
|