@xuda.io/runtime-bundle 1.0.674 → 1.0.675

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.
@@ -27807,23 +27807,17 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
27807
27807
  return done();
27808
27808
  },
27809
27809
  execute_xu_for: async function () {
27810
- // var $elm = func.UI.utils.find_in_element_data(
27811
- // "xuData",
27812
- // $(SESSION_OBJ[SESSION_ID].root_element),
27813
- // "xu_id",
27814
- // queue_obj.paramsP.elem_key
27815
- // );
27816
-
27817
27810
  var $elm = queue_obj?.paramsP?.elem_val?.$elm; // $(SESSION_OBJ[SESSION_ID].root_element).find(`[xu-ui-id=${queue_obj.paramsP.elem_key}]`)
27818
27811
 
27819
27812
  if (!$elm?.length) {
27820
- // return func.events.delete_job(SESSION_ID, queue_obj.jobNoP);
27821
27813
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
27822
27814
  }
27823
27815
 
27824
27816
  // $elm.empty();
27825
27817
 
27826
27818
  $.each($elm.children(), (key, val) => {
27819
+ if (!$(val)?.data()?.xuData) return true;
27820
+
27827
27821
  if ($(val).data().xuData.nodeid === queue_obj?.paramsP?.xu_for_item_id) {
27828
27822
  $(val).remove();
27829
27823
  }