@xuda.io/runtime-bundle 1.0.1165 → 1.0.1167
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -8842,11 +8842,12 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8842
8842
|
// $(val).remove();
|
|
8843
8843
|
// }
|
|
8844
8844
|
// });
|
|
8845
|
-
const _$elm = queue_obj.paramsP.elem_val.$
|
|
8845
|
+
const _$elm = queue_obj.paramsP.elem_val.$elm.clone(true);
|
|
8846
|
+
const $parent = _$elm.parent();
|
|
8846
8847
|
let _data = _$elm.data();
|
|
8847
8848
|
$elm.remove();
|
|
8848
8849
|
const node_to_render = _data.xuData.node; //_data.xuData.node_org.children?.find((e) => e.id === queue_obj?.paramsP?.xu_for_item_id);
|
|
8849
|
-
await func.UI.screen.render_ui_tree(queue_obj.paramsP.SESSION_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
8851
|
} catch (error) {}
|
|
8851
8852
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8852
8853
|
},
|
|
@@ -8843,11 +8843,12 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
8843
8843
|
// $(val).remove();
|
|
8844
8844
|
// }
|
|
8845
8845
|
// });
|
|
8846
|
-
const _$elm = queue_obj.paramsP.elem_val.$
|
|
8846
|
+
const _$elm = queue_obj.paramsP.elem_val.$elm.clone(true);
|
|
8847
|
+
const $parent = _$elm.parent();
|
|
8847
8848
|
let _data = _$elm.data();
|
|
8848
8849
|
$elm.remove();
|
|
8849
8850
|
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,
|
|
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
8852
|
} catch (error) {}
|
|
8852
8853
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
8853
8854
|
},
|