@xuda.io/runtime-bundle 1.0.602 → 1.0.604

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.
@@ -8895,9 +8895,16 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8895
8895
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8896
8896
  }
8897
8897
 
8898
- $elm.empty();
8898
+ // $elm.empty();
8899
+
8900
+ $.each($elm.children(), (key, val) => {
8901
+ if ($(val).data.xuData.id === queue_obj?.paramsP?.xu_for_item_id) {
8902
+ $(val).remove();
8903
+ }
8904
+ });
8905
+
8899
8906
  let _data = queue_obj.paramsP.elem_val.$elm.data();
8900
- const node_to_render = _data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.elem_val?.xu_for_item_id);
8907
+ const node_to_render = _data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
8901
8908
  func.UI.screen.render_ui_tree(
8902
8909
  queue_obj.paramsP.SESSION_ID,
8903
8910
  queue_obj.paramsP.elem_val.$elm,
@@ -8896,9 +8896,16 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8896
8896
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8897
8897
  }
8898
8898
 
8899
- $elm.empty();
8899
+ // $elm.empty();
8900
+
8901
+ $.each($elm.children(), (key, val) => {
8902
+ if ($(val).data.xuData.id === queue_obj?.paramsP?.xu_for_item_id) {
8903
+ $(val).remove();
8904
+ }
8905
+ });
8906
+
8900
8907
  let _data = queue_obj.paramsP.elem_val.$elm.data();
8901
- const node_to_render = _data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.elem_val?.xu_for_item_id);
8908
+ const node_to_render = _data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
8902
8909
  func.UI.screen.render_ui_tree(
8903
8910
  queue_obj.paramsP.SESSION_ID,
8904
8911
  queue_obj.paramsP.elem_val.$elm,