@xuda.io/runtime-bundle 1.0.552 → 1.0.554

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.
@@ -32678,9 +32678,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32678
32678
  new_$div.data().xuAttributes = $elm.data().xuAttributes;
32679
32679
 
32680
32680
  const replace = async function () {
32681
- $elm.replaceWith(from_panel ? new_$div.children() : new_$div);
32681
+ $elm.replaceWith(new_$div);
32682
32682
  if (from_panel) {
32683
- $elm.data().xuPanelWrapper = new_$div.data().xuPanelWrapper;
32683
+ const xuPanelWrapper = _.clone(new_$div.data().xuPanelWrapper);
32684
+ $elm.parent().data().xuPanelWrapper = xuPanelWrapper;
32685
+ $elm.replaceWith(new_$div.children());
32684
32686
  }
32685
32687
 
32686
32688
  if (val.fields_arr) {