@xuda.io/runtime-bundle 1.0.1167 → 1.0.1168

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.
@@ -8843,11 +8843,11 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8843
8843
  // }
8844
8844
  // });
8845
8845
  const _$elm = queue_obj.paramsP.elem_val.$elm.clone(true);
8846
- const $parent = _$elm.parent();
8846
+ const parent_id = $elm.parent().attr('xu-ui-id');
8847
8847
  let _data = _$elm.data();
8848
8848
  $elm.remove();
8849
8849
  const node_to_render = _data.xuData.node; //_data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
8850
- await func.UI.screen.render_ui_tree(queue_obj.paramsP.SESSION_ID, $parent, node_to_render, null, _data.xuData.paramsP, queue_obj.jobNoP, null, _data.xuData.key, null, _data.xuData.parent_node, null, _data.xuData.$root_container);
8850
+ await func.UI.screen.render_ui_tree(queue_obj.paramsP.SESSION_ID, $(`[xu-ui-id="${parent_id}"]`), node_to_render, null, _data.xuData.paramsP, queue_obj.jobNoP, null, _data.xuData.key, null, _data.xuData.parent_node, null, _data.xuData.$root_container);
8851
8851
  } catch (error) {}
8852
8852
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8853
8853
  },
@@ -8844,11 +8844,11 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8844
8844
  // }
8845
8845
  // });
8846
8846
  const _$elm = queue_obj.paramsP.elem_val.$elm.clone(true);
8847
- const $parent = _$elm.parent();
8847
+ const parent_id = $elm.parent().attr('xu-ui-id');
8848
8848
  let _data = _$elm.data();
8849
8849
  $elm.remove();
8850
8850
  const node_to_render = _data.xuData.node; //_data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
8851
- await func.UI.screen.render_ui_tree(queue_obj.paramsP.SESSION_ID, $parent, node_to_render, null, _data.xuData.paramsP, queue_obj.jobNoP, null, _data.xuData.key, null, _data.xuData.parent_node, null, _data.xuData.$root_container);
8851
+ await func.UI.screen.render_ui_tree(queue_obj.paramsP.SESSION_ID, $(`[xu-ui-id="${parent_id}"]`), node_to_render, null, _data.xuData.paramsP, queue_obj.jobNoP, null, _data.xuData.key, null, _data.xuData.parent_node, null, _data.xuData.$root_container);
8852
8852
  } catch (error) {}
8853
8853
  return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
8854
8854
  },