@xuda.io/runtime-bundle 1.0.576 → 1.0.578
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.
|
@@ -32059,13 +32059,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32059
32059
|
[`xu-teleport`]: {
|
|
32060
32060
|
to: async function ($elm, val) {
|
|
32061
32061
|
if (val.value) {
|
|
32062
|
-
$elm.data('xuTeleportData', []);
|
|
32062
|
+
$elm.parent().data('xuTeleportData', []);
|
|
32063
32063
|
for (const [key, node] of Object.entries(nodeP.children)) {
|
|
32064
32064
|
const $teleport_elm = await func.UI.screen.render_ui_tree(SESSION_ID, $(val.value), node, parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, node, null, $root_container);
|
|
32065
32065
|
// $teleport_elm.data('xuTeleportParentId', );
|
|
32066
|
-
$elm.data().xuTeleportData.push($teleport_elm.attr('xu-ui-id'));
|
|
32067
|
-
$teleport_elm.attr('xu-teleport-parent-id', $elm.attr('xu-ui-id'));
|
|
32066
|
+
$elm.parent().data().xuTeleportData.push($teleport_elm.attr('xu-ui-id'));
|
|
32067
|
+
$teleport_elm.attr('xu-teleport-parent-id', $elm.parent().attr('xu-ui-id'));
|
|
32068
32068
|
}
|
|
32069
|
+
// $elm.remove();
|
|
32069
32070
|
}
|
|
32070
32071
|
return { abort: true };
|
|
32071
32072
|
},
|