@xuda.io/runtime-bundle 1.0.526 → 1.0.527

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.
@@ -13733,7 +13733,7 @@ func.UI.screen.panel_post_render_handler = async function (
13733
13733
  } else {
13734
13734
  $.each($wrapper.children(), function (key, child) {
13735
13735
  $.each($container.children(), function (key, elm) {
13736
- if ($(elm).data().xuData.elem_key === $(child).data().xuData.elem_key) {
13736
+ if ($(elm)?.data()?.xuData && $(elm)?.data()?.xuData?.elem_key === $(child)?.data()?.xuData?.elem_key) {
13737
13737
  $(elm).remove();
13738
13738
  }
13739
13739
  });
@@ -11465,7 +11465,7 @@ func.UI.screen.panel_post_render_handler = async function (
11465
11465
  } else {
11466
11466
  $.each($wrapper.children(), function (key, child) {
11467
11467
  $.each($container.children(), function (key, elm) {
11468
- if ($(elm).data().xuData.elem_key === $(child).data().xuData.elem_key) {
11468
+ if ($(elm)?.data()?.xuData && $(elm)?.data()?.xuData?.elem_key === $(child)?.data()?.xuData?.elem_key) {
11469
11469
  $(elm).remove();
11470
11470
  }
11471
11471
  });