@xuda.io/runtime-bundle 1.0.769 → 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.
@@ -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, avoid_refresh) {
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 (!avoid_refresh && fields_changed.length) {
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,
@@ -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, avoid_refresh) {
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 (!avoid_refresh && fields_changed.length) {
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,