@xuda.io/runtime-bundle 1.0.637 → 1.0.639

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.
@@ -12298,7 +12298,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12298
12298
  async function render_panel() {
12299
12299
  const prog_id = val.value?.prog || val.value;
12300
12300
  const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
12301
- let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel', undefined, refreshed_ds);
12301
+ let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel', undefined, prog_id !== _ds.prog_id ? null : refreshed_ds);
12302
12302
  ret = { $new_div: ret_panel };
12303
12303
  $container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
12304
12304
  $container.data().xuData.xuPanelData = ret_panel.data();
@@ -10020,7 +10020,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10020
10020
  async function render_panel() {
10021
10021
  const prog_id = val.value?.prog || val.value;
10022
10022
  const param_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
10023
- let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel', undefined, refreshed_ds);
10023
+ let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, param_obj, 'initXu_panel', undefined, prog_id !== _ds.prog_id ? null : refreshed_ds);
10024
10024
  ret = { $new_div: ret_panel };
10025
10025
  $container.data().xuData.xuPanelProps = $elm.data().xuAttributes;
10026
10026
  $container.data().xuData.xuPanelData = ret_panel.data();