@xuda.io/runtime-bundle 1.0.1134 → 1.0.1136
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.
|
@@ -32342,8 +32342,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32342
32342
|
}
|
|
32343
32343
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
32344
32344
|
};
|
|
32345
|
-
|
|
32346
|
-
if ($elm &&
|
|
32345
|
+
// if ($elm && func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'xu_id', $elm.data().xuData.xu_id).length) {
|
|
32346
|
+
if ($elm && $(`[xu-ui-id="${$elm.attr('xu-ui-id')}"]`).length) {
|
|
32347
32347
|
if (new_$div.data().xuData.paramsP) {
|
|
32348
32348
|
return await replace();
|
|
32349
32349
|
}
|
|
@@ -32467,7 +32467,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
32467
32467
|
// iterate the container node
|
|
32468
32468
|
let $last_elm_found = [];
|
|
32469
32469
|
$.each($container.data().xuData.node.children, (item_key, item_val) => {
|
|
32470
|
-
const $elm = $(`[xu-node-id="${item_val.id}"]`);
|
|
32470
|
+
// const $elm = $(`[xu-node-id="${item_val.id}"]`);
|
|
32471
|
+
const $elm = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'nodeid', item_val.id);
|
|
32471
32472
|
if ($elm.length) {
|
|
32472
32473
|
$last_elm_found = $elm;
|
|
32473
32474
|
}
|
|
@@ -33362,8 +33363,8 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
33362
33363
|
return val.xu_tree_id || val.id;
|
|
33363
33364
|
});
|
|
33364
33365
|
var currentRecordId = $container?.data?.()?.xuData?.recordid || (_ds ? _ds.currentRecordId : '');
|
|
33365
|
-
var xu_id = (glb.screen_num++).toString();
|
|
33366
|
-
xu_id = xu_id += '_' + currentRecordId;
|
|
33366
|
+
// var xu_id = (glb.screen_num++).toString();
|
|
33367
|
+
// xu_id = xu_id += '_' + currentRecordId;
|
|
33367
33368
|
|
|
33368
33369
|
try {
|
|
33369
33370
|
const key_path = `${$container?.data()?.xuData?.key_path || '0'}-${keyP || '0'}`;
|
|
@@ -33438,13 +33439,13 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
33438
33439
|
|
|
33439
33440
|
$div
|
|
33440
33441
|
.attr('xu-ui-id', new_ui_id)
|
|
33441
|
-
.attr('xu-node-id', nodeP.id)
|
|
33442
|
+
// .attr('xu-node-id', nodeP.id)
|
|
33442
33443
|
.data({
|
|
33443
33444
|
xuData: {
|
|
33444
33445
|
prog_id: _paramsP.prog_id,
|
|
33445
33446
|
nodeid: nodeP.id,
|
|
33446
33447
|
ui_type: nodeP.tagName,
|
|
33447
|
-
xu_id,
|
|
33448
|
+
// xu_id,
|
|
33448
33449
|
recordid: currentRecordId,
|
|
33449
33450
|
paramsP: _paramsP,
|
|
33450
33451
|
key: keyP,
|