@xuda.io/runtime-bundle 1.0.1133 → 1.0.1135
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
|
@@ -11778,7 +11778,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11778
11778
|
// debugger;
|
|
11779
11779
|
// let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
|
|
11780
11780
|
// let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
|
|
11781
|
-
const _$elem = func.UI.utils.find_in_element_data('xuData',
|
|
11781
|
+
const _$elem = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'nodeid', parent_element_ui_id);
|
|
11782
11782
|
// const _elem_key = parent_element_ui_id;
|
|
11783
11783
|
const _elem_key = _$elem.attr('xu-ui-id');
|
|
11784
11784
|
const _elem_val = { attributes: [], $elm: _$elem };
|
|
@@ -12783,7 +12783,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12783
12783
|
// iterate the container node
|
|
12784
12784
|
let $last_elm_found = [];
|
|
12785
12785
|
$.each($container.data().xuData.node.children, (item_key, item_val) => {
|
|
12786
|
-
const $elm = $(`[xu-node-id="${item_val.id}"]`);
|
|
12786
|
+
// const $elm = $(`[xu-node-id="${item_val.id}"]`);
|
|
12787
|
+
const $elm = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'nodeid', item_val.id);
|
|
12787
12788
|
if ($elm.length) {
|
|
12788
12789
|
$last_elm_found = $elm;
|
|
12789
12790
|
}
|
|
@@ -13754,7 +13755,7 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
13754
13755
|
|
|
13755
13756
|
$div
|
|
13756
13757
|
.attr('xu-ui-id', new_ui_id)
|
|
13757
|
-
.attr('xu-node-id', nodeP.id)
|
|
13758
|
+
// .attr('xu-node-id', nodeP.id)
|
|
13758
13759
|
.data({
|
|
13759
13760
|
xuData: {
|
|
13760
13761
|
prog_id: _paramsP.prog_id,
|
|
@@ -9503,7 +9503,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9503
9503
|
// debugger;
|
|
9504
9504
|
// let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
|
|
9505
9505
|
// let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
|
|
9506
|
-
const _$elem = func.UI.utils.find_in_element_data('xuData',
|
|
9506
|
+
const _$elem = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'nodeid', parent_element_ui_id);
|
|
9507
9507
|
// const _elem_key = parent_element_ui_id;
|
|
9508
9508
|
const _elem_key = _$elem.attr('xu-ui-id');
|
|
9509
9509
|
const _elem_val = { attributes: [], $elm: _$elem };
|
|
@@ -10508,7 +10508,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10508
10508
|
// iterate the container node
|
|
10509
10509
|
let $last_elm_found = [];
|
|
10510
10510
|
$.each($container.data().xuData.node.children, (item_key, item_val) => {
|
|
10511
|
-
const $elm = $(`[xu-node-id="${item_val.id}"]`);
|
|
10511
|
+
// const $elm = $(`[xu-node-id="${item_val.id}"]`);
|
|
10512
|
+
const $elm = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'nodeid', item_val.id);
|
|
10512
10513
|
if ($elm.length) {
|
|
10513
10514
|
$last_elm_found = $elm;
|
|
10514
10515
|
}
|
|
@@ -11479,7 +11480,7 @@ func.UI.screen.create_container = async function (SESSION_ID, $root_container, n
|
|
|
11479
11480
|
|
|
11480
11481
|
$div
|
|
11481
11482
|
.attr('xu-ui-id', new_ui_id)
|
|
11482
|
-
.attr('xu-node-id', nodeP.id)
|
|
11483
|
+
// .attr('xu-node-id', nodeP.id)
|
|
11483
11484
|
.data({
|
|
11484
11485
|
xuData: {
|
|
11485
11486
|
prog_id: _paramsP.prog_id,
|