@xuda.io/runtime-bundle 1.0.1116 → 1.0.1118

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.
@@ -31482,7 +31482,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31482
31482
  const elem_val = { attributes: [attr], $elm: node_data.$div, data: node_data.data };
31483
31483
  if (!elem_val.data?.xuData) continue;
31484
31484
  elem_val.data.xuData.parent_element_ui_id = $(val).attr('xu-ui-id');
31485
- var res = await func.expression.get(SESSION_ID, elem_val.data.xuAttributes['xu-exp:xu-render'], elem_val.$elm.data().xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.$elm.data().xuData.recordid);
31485
+ var res = await func.expression.get(SESSION_ID, elem_val.data.xuAttributes['xu-exp:xu-render'], elem_val.data.xuData.paramsP.dsSessionP, 'UI Property EXP', elem_val.data.xuData.recordid);
31486
31486
 
31487
31487
  var attr_value = await func.common.get_cast_val(SESSION_ID, 'refresh xu-attributes', 'xu-render', 'bool', res.result);
31488
31488
  try {
@@ -32459,7 +32459,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32459
32459
  // UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
32460
32460
  // }
32461
32461
  const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
32462
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: $elm.clone(true) };
32462
+ const _$div = $elm.clone(true);
32463
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: _$div, data: _$div.data(), paramsP };
32463
32464
  $elm.remove();
32464
32465
  func.events.delete_job(SESSION_ID, jobNoP);
32465
32466
  };