@xuda.io/runtime-bundle 1.0.1121 → 1.0.1122

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.
@@ -32930,12 +32930,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32930
32930
 
32931
32931
  const get_xuExp = async function (attrib) {
32932
32932
  if (is_skeleton) return;
32933
-
32934
- let _xuData = $elm.data().xuData;
32935
- if (!_xuData.attr_exp_info) {
32936
- _xuData.attr_exp_info = {};
32933
+ if (glb.new_xu_render) {
32934
+ let _xuData = $elm.data().xuData;
32935
+ if (!_xuData.attr_exp_info) {
32936
+ _xuData.attr_exp_info = {};
32937
+ }
32937
32938
  }
32938
-
32939
32939
  const attr = `xu-exp:${attrib}`;
32940
32940
 
32941
32941
  if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
@@ -32944,7 +32944,9 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32944
32944
  // if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
32945
32945
 
32946
32946
  var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
32947
- _xuData.attr_exp_info[attrib] = res;
32947
+ if (glb.new_xu_render) {
32948
+ _xuData.attr_exp_info[attrib] = res;
32949
+ }
32948
32950
  // nodeP.attributes[attr] = value; //{ value: value, res: res };
32949
32951
  done_exp.push(attr);
32950
32952
  return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);