@xuda.io/runtime-bundle 1.0.716 → 1.0.717

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.
@@ -28970,8 +28970,8 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
28970
28970
  }
28971
28971
 
28972
28972
  // initiated with Update but no rows found
28973
- // if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_ds?.data_feed?.rows?.length) {
28974
- if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_raw_data_rows?.length) {
28973
+ if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_ds?.data_feed?.rows?.length) {
28974
+ // if (tree_obj.crudMode === 'U' && tree_obj.allowCreate && !_raw_data_rows?.length) {
28975
28975
  _ds.set_mode = 'C';
28976
28976
  // _raw_data_rows[glb.newRecord] = [{ _ROWID: "newRecord" }];
28977
28977
 
@@ -31469,7 +31469,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31469
31469
  }
31470
31470
  };
31471
31471
 
31472
- func.UI.screen.refresh_screen_bad = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
31472
+ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
31473
31473
  var found, refresh_reason, refresh_details;
31474
31474
  const validate_change = function (prog_doc, panelXuAttributes, skip_ui_check) {
31475
31475
  found = null;
@@ -31697,7 +31697,7 @@ func.UI.screen.refresh_screen_bad = async function (SESSION_ID, fields_changed_a
31697
31697
  }
31698
31698
  };
31699
31699
 
31700
- func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
31700
+ func.UI.screen.refresh_screen_old = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
31701
31701
  // check the main program
31702
31702
  if (fields_changed_datasource) {
31703
31703
  const _session = SESSION_OBJ[SESSION_ID];