@xuda.io/runtime-bundle 1.0.448 → 1.0.450

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.
@@ -31813,7 +31813,8 @@ func.UI.screen.refresh_screen2 = async function (SESSION_ID, fields_changed_arr,
31813
31813
  }
31814
31814
  }
31815
31815
  if (found) {
31816
- const $div_elm = panel_val.$panel_div.parent().find("[xu-ui-id='" + parent_element_ui_id + "']");
31816
+ const $div_elm = panel_val.$panel_div; //.parent().find("[xu-ui-id='" + parent_element_ui_id + "']");
31817
+ const wrapper_data = $div_elm.data();
31817
31818
  // var $div_elm = panel_val.$div
31818
31819
  // .parent()
31819
31820
  // .parent()
@@ -31823,7 +31824,20 @@ func.UI.screen.refresh_screen2 = async function (SESSION_ID, fields_changed_arr,
31823
31824
  try {
31824
31825
  // const $org_panel = panel_val.$div.data().xuPanelData.$panel_div;
31825
31826
  const panelDivData = panel_val.$panel_div.data().xuPanelWrapper.panelDivData;
31826
- const new_$div = await func.UI.screen.render_ui_tree(SESSION_ID, $div_elm, _.cloneDeep(panelDivData.xuData.node), {}, panelDivData.xuData.paramsP, null, null, panelDivData.xuData.key, null, panelDivData.xuData.parent_node, null, panelDivData.xuData.$root_container);
31827
+ const new_$div = await func.UI.screen.render_ui_tree(
31828
+ SESSION_ID,
31829
+ $div_elm, // the wrapper
31830
+ _.cloneDeep(panelDivData.xuData.node), // the xu-panel node
31831
+ {},
31832
+ wrapper_data.xuData.paramsP, // the wrapper params
31833
+ null,
31834
+ null,
31835
+ wrapper_data.xuData.key, // the wrapper key
31836
+ null,
31837
+ wrapper_data.xuData.parent_node, // the wrapper parent node
31838
+ null,
31839
+ wrapper_data.xuData.$root_container, // the wrapper root container
31840
+ );
31827
31841
 
31828
31842
  // remove old panel content
31829
31843
  $.each(panel_val.ids, async function (key, val) {