@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.
@@ -31462,7 +31462,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31462
31462
  // debugger;
31463
31463
  // let _$elem = $(`[xu-ui-id^=${parent_element_ui_id}]`);
31464
31464
  // let _$elem = $(`[xu-node-id=${parent_element_ui_id}]`);
31465
- const _$elem = func.UI.utils.find_in_element_data('xuData', 'body', 'nodeid', parent_element_ui_id);
31465
+ const _$elem = func.UI.utils.find_in_element_data('xuData', $(SESSION_OBJ[SESSION_ID].root_element), 'nodeid', parent_element_ui_id);
31466
31466
  // const _elem_key = parent_element_ui_id;
31467
31467
  const _elem_key = _$elem.attr('xu-ui-id');
31468
31468
  const _elem_val = { attributes: [], $elm: _$elem };
@@ -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
  }
@@ -33438,7 +33439,7 @@ 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,