@xuda.io/runtime-bundle 1.0.770 → 1.0.771
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 +8 -5
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +8 -5
- package/js/xuda-runtime-slim.min.es.js +8 -5
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +3 -3
- package/js/xuda-worker-bundle.js +3 -3
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -3115,7 +3115,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
|
|
|
3115
3115
|
perform_delete();
|
|
3116
3116
|
};
|
|
3117
3117
|
|
|
3118
|
-
func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only,
|
|
3118
|
+
func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only, avoid_xu_for_refresh) {
|
|
3119
3119
|
return new Promise(async (resolve, reject) => {
|
|
3120
3120
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
3121
3121
|
|
|
@@ -3319,8 +3319,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
3319
3319
|
});
|
|
3320
3320
|
}
|
|
3321
3321
|
///// REFRESH SCREEN
|
|
3322
|
-
if (
|
|
3323
|
-
await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed));
|
|
3322
|
+
if (fields_changed.length) {
|
|
3323
|
+
await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed), null, null, null, avoid_xu_for_refresh);
|
|
3324
3324
|
// await removed from the below function cause to dead lock Mar 3 25
|
|
3325
3325
|
await func.UI.screen.refresh_screen(
|
|
3326
3326
|
SESSION_ID,
|
package/js/xuda-worker-bundle.js
CHANGED
|
@@ -3115,7 +3115,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
|
|
|
3115
3115
|
perform_delete();
|
|
3116
3116
|
};
|
|
3117
3117
|
|
|
3118
|
-
func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only,
|
|
3118
|
+
func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only, avoid_xu_for_refresh) {
|
|
3119
3119
|
return new Promise(async (resolve, reject) => {
|
|
3120
3120
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
3121
3121
|
|
|
@@ -3319,8 +3319,8 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
3319
3319
|
});
|
|
3320
3320
|
}
|
|
3321
3321
|
///// REFRESH SCREEN
|
|
3322
|
-
if (
|
|
3323
|
-
await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed));
|
|
3322
|
+
if (fields_changed.length) {
|
|
3323
|
+
await func.UI.screen.refresh_xu_attributes(SESSION_ID, _.cloneDeep(fields_changed), null, null, null, avoid_xu_for_refresh);
|
|
3324
3324
|
// await removed from the below function cause to dead lock Mar 3 25
|
|
3325
3325
|
await func.UI.screen.refresh_screen(
|
|
3326
3326
|
SESSION_ID,
|