@xuda.io/runtime-bundle 1.0.1057 → 1.0.1059
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.
|
@@ -32354,14 +32354,18 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32354
32354
|
new_$div.appendTo($container);
|
|
32355
32355
|
} else {
|
|
32356
32356
|
// iterate the container node
|
|
32357
|
-
let $last_elm_found;
|
|
32357
|
+
let $last_elm_found = [];
|
|
32358
32358
|
$.each($container.data().xuData.node.children, (item_key, item_val) => {
|
|
32359
32359
|
const $elm = $(`[xu-node-id="${item_val.id}"]`);
|
|
32360
32360
|
if ($elm.length) {
|
|
32361
32361
|
$last_elm_found = $elm;
|
|
32362
32362
|
}
|
|
32363
|
-
if (
|
|
32364
|
-
|
|
32363
|
+
if (keyP == item_key) {
|
|
32364
|
+
if ($last_elm_found.length) {
|
|
32365
|
+
new_$div.after($last_elm_found);
|
|
32366
|
+
} else {
|
|
32367
|
+
$container.prepend(new_$div);
|
|
32368
|
+
}
|
|
32365
32369
|
}
|
|
32366
32370
|
});
|
|
32367
32371
|
}
|