@xuda.io/runtime-bundle 1.0.693 → 1.0.694

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.
@@ -11867,27 +11867,29 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
11867
11867
  // });
11868
11868
 
11869
11869
  $elm.empty();
11870
- const new_$div = await func.UI.screen.render_ui_tree(
11871
- SESSION_ID,
11872
- $elm, // the wrapper
11873
- _.cloneDeep($elm.data().xuData.node), // the xu-panel node
11874
- {},
11875
- elm_data.xuData.paramsP, // the wrapper params
11876
- null,
11877
- null,
11878
- elm_data.xuData.key, // the wrapper key
11879
- refreshed_ds, // the refreshed_ds
11880
- elm_data.xuData.parent_node, // the wrapper parent node
11881
- null,
11882
- elm_data.xuData.$root_container, // the wrapper root container
11883
- );
11870
+ if ($elm.data()) {
11871
+ const new_$div = await func.UI.screen.render_ui_tree(
11872
+ SESSION_ID,
11873
+ $elm, // the wrapper
11874
+ _.cloneDeep($elm.data().xuData.node), // the xu-panel node
11875
+ {},
11876
+ elm_data.xuData.paramsP, // the wrapper params
11877
+ null,
11878
+ null,
11879
+ elm_data.xuData.key, // the wrapper key
11880
+ refreshed_ds, // the refreshed_ds
11881
+ elm_data.xuData.parent_node, // the wrapper parent node
11882
+ null,
11883
+ elm_data.xuData.$root_container, // the wrapper root container
11884
+ );
11884
11885
 
11885
- // // remove old screen content
11886
- // $.each(elm_to_delete, async function (key, val) {
11887
- // $("[xu-ui-id='" + elm_to_delete + "']").remove();
11888
- // });
11886
+ // // remove old screen content
11887
+ // $.each(elm_to_delete, async function (key, val) {
11888
+ // $("[xu-ui-id='" + elm_to_delete + "']").remove();
11889
+ // });
11889
11890
 
11890
- return;
11891
+ return;
11892
+ }
11891
11893
  }
11892
11894
  }
11893
11895
  }
@@ -9589,27 +9589,29 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
9589
9589
  // });
9590
9590
 
9591
9591
  $elm.empty();
9592
- const new_$div = await func.UI.screen.render_ui_tree(
9593
- SESSION_ID,
9594
- $elm, // the wrapper
9595
- _.cloneDeep($elm.data().xuData.node), // the xu-panel node
9596
- {},
9597
- elm_data.xuData.paramsP, // the wrapper params
9598
- null,
9599
- null,
9600
- elm_data.xuData.key, // the wrapper key
9601
- refreshed_ds, // the refreshed_ds
9602
- elm_data.xuData.parent_node, // the wrapper parent node
9603
- null,
9604
- elm_data.xuData.$root_container, // the wrapper root container
9605
- );
9592
+ if ($elm.data()) {
9593
+ const new_$div = await func.UI.screen.render_ui_tree(
9594
+ SESSION_ID,
9595
+ $elm, // the wrapper
9596
+ _.cloneDeep($elm.data().xuData.node), // the xu-panel node
9597
+ {},
9598
+ elm_data.xuData.paramsP, // the wrapper params
9599
+ null,
9600
+ null,
9601
+ elm_data.xuData.key, // the wrapper key
9602
+ refreshed_ds, // the refreshed_ds
9603
+ elm_data.xuData.parent_node, // the wrapper parent node
9604
+ null,
9605
+ elm_data.xuData.$root_container, // the wrapper root container
9606
+ );
9606
9607
 
9607
- // // remove old screen content
9608
- // $.each(elm_to_delete, async function (key, val) {
9609
- // $("[xu-ui-id='" + elm_to_delete + "']").remove();
9610
- // });
9608
+ // // remove old screen content
9609
+ // $.each(elm_to_delete, async function (key, val) {
9610
+ // $("[xu-ui-id='" + elm_to_delete + "']").remove();
9611
+ // });
9611
9612
 
9612
- return;
9613
+ return;
9614
+ }
9613
9615
  }
9614
9616
  }
9615
9617
  }