@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.
@@ -31548,27 +31548,29 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31548
31548
  // });
31549
31549
 
31550
31550
  $elm.empty();
31551
- const new_$div = await func.UI.screen.render_ui_tree(
31552
- SESSION_ID,
31553
- $elm, // the wrapper
31554
- _.cloneDeep($elm.data().xuData.node), // the xu-panel node
31555
- {},
31556
- elm_data.xuData.paramsP, // the wrapper params
31557
- null,
31558
- null,
31559
- elm_data.xuData.key, // the wrapper key
31560
- refreshed_ds, // the refreshed_ds
31561
- elm_data.xuData.parent_node, // the wrapper parent node
31562
- null,
31563
- elm_data.xuData.$root_container, // the wrapper root container
31564
- );
31551
+ if ($elm.data()) {
31552
+ const new_$div = await func.UI.screen.render_ui_tree(
31553
+ SESSION_ID,
31554
+ $elm, // the wrapper
31555
+ _.cloneDeep($elm.data().xuData.node), // the xu-panel node
31556
+ {},
31557
+ elm_data.xuData.paramsP, // the wrapper params
31558
+ null,
31559
+ null,
31560
+ elm_data.xuData.key, // the wrapper key
31561
+ refreshed_ds, // the refreshed_ds
31562
+ elm_data.xuData.parent_node, // the wrapper parent node
31563
+ null,
31564
+ elm_data.xuData.$root_container, // the wrapper root container
31565
+ );
31565
31566
 
31566
- // // remove old screen content
31567
- // $.each(elm_to_delete, async function (key, val) {
31568
- // $("[xu-ui-id='" + elm_to_delete + "']").remove();
31569
- // });
31567
+ // // remove old screen content
31568
+ // $.each(elm_to_delete, async function (key, val) {
31569
+ // $("[xu-ui-id='" + elm_to_delete + "']").remove();
31570
+ // });
31570
31571
 
31571
- return;
31572
+ return;
31573
+ }
31572
31574
  }
31573
31575
  }
31574
31576
  }