@xuda.io/xuda-worker-bundle-min 1.3.1257 → 1.3.1259
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/index.js +3 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -4095,7 +4095,8 @@ func.datasource.del = function (SESSION_ID, dsP) {
|
|
|
4095
4095
|
func.datasource.update = async function (
|
|
4096
4096
|
SESSION_ID,
|
|
4097
4097
|
datasource_changes,
|
|
4098
|
-
update_local_scope_only
|
|
4098
|
+
update_local_scope_only,
|
|
4099
|
+
avoid_refresh
|
|
4099
4100
|
) {
|
|
4100
4101
|
return new Promise(async (resolve, reject) => {
|
|
4101
4102
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
@@ -4318,7 +4319,7 @@ func.datasource.update = async function (
|
|
|
4318
4319
|
});
|
|
4319
4320
|
}
|
|
4320
4321
|
///// REFRESH SCREEN
|
|
4321
|
-
if (fields_changed.length) {
|
|
4322
|
+
if (!avoid_refresh && fields_changed.length) {
|
|
4322
4323
|
await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
4323
4324
|
await func.UI.screen.refresh_screen(
|
|
4324
4325
|
SESSION_ID,
|