@xuda.io/runtime-bundle 1.0.1284 → 1.0.1286
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 +21 -3
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +21 -3
- package/js/xuda-runtime-slim.min.es.js +21 -3
- 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 -0
- package/js/xuda-worker-bundle.js +18 -0
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -28232,9 +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
|
-
setTimeout(() => {
|
|
28236
|
-
|
|
28237
|
-
}, 1000);
|
|
28235
|
+
// setTimeout(() => {
|
|
28236
|
+
// func.action.execute(SESSION_ID, 'act_refresh', _session.DS_GLB[dsSessionP], null, null, null, $elm);
|
|
28237
|
+
// }, 1000);
|
|
28238
28238
|
} catch (error) {}
|
|
28239
28239
|
});
|
|
28240
28240
|
|
|
@@ -30215,6 +30215,24 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30215
30215
|
fields_changed.push(field_id);
|
|
30216
30216
|
datasource_changed.push(dataSource);
|
|
30217
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
|
+
await func.UI.screen.refresh_screen(
|
|
30229
|
+
SESSION_ID,
|
|
30230
|
+
klona.klona(fields_changed), // _.cloneDeep(fields_changed),
|
|
30231
|
+
null,
|
|
30232
|
+
datasource_changed[0], // refresh the current datasource only
|
|
30233
|
+
);
|
|
30234
|
+
}
|
|
30235
|
+
|
|
30218
30236
|
continue;
|
|
30219
30237
|
}
|
|
30220
30238
|
|