@xuda.io/runtime-bundle 1.0.639 → 1.0.641

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.
@@ -13165,13 +13165,13 @@ func.UI.screen.fix_val_defaults = function (key, val) {
13165
13165
  var ret = val;
13166
13166
  if (
13167
13167
  key === 'xu-render' &&
13168
- (typeof val === 'undefined' || val === null) //|| val === ""
13168
+ (typeof val === 'undefined' || val === null || val === '') //|| val === ""
13169
13169
  ) {
13170
13170
  ret = 'Y'; // was ret = "N";
13171
13171
  }
13172
13172
  if (
13173
13173
  key === 'xu-show' &&
13174
- (typeof val === 'undefined' || val === null) //|| val === ""
13174
+ (typeof val === 'undefined' || val === null || val === '') //|| val === ""
13175
13175
  ) {
13176
13176
  ret = 'Y';
13177
13177
  }
@@ -13266,7 +13266,11 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13266
13266
  break;
13267
13267
  }
13268
13268
 
13269
- if (typeof nodeP.attributes[attr] === 'undefined') {
13269
+ // if (typeof nodeP.attributes[attr] === 'undefined') {
13270
+ // continue;
13271
+ // }
13272
+
13273
+ if (typeof func.UI.screen.fix_val_defaults(attr, nodeP.attributes[attr]) === 'undefined') {
13270
13274
  continue;
13271
13275
  }
13272
13276
 
@@ -10887,13 +10887,13 @@ func.UI.screen.fix_val_defaults = function (key, val) {
10887
10887
  var ret = val;
10888
10888
  if (
10889
10889
  key === 'xu-render' &&
10890
- (typeof val === 'undefined' || val === null) //|| val === ""
10890
+ (typeof val === 'undefined' || val === null || val === '') //|| val === ""
10891
10891
  ) {
10892
10892
  ret = 'Y'; // was ret = "N";
10893
10893
  }
10894
10894
  if (
10895
10895
  key === 'xu-show' &&
10896
- (typeof val === 'undefined' || val === null) //|| val === ""
10896
+ (typeof val === 'undefined' || val === null || val === '') //|| val === ""
10897
10897
  ) {
10898
10898
  ret = 'Y';
10899
10899
  }
@@ -10988,7 +10988,11 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10988
10988
  break;
10989
10989
  }
10990
10990
 
10991
- if (typeof nodeP.attributes[attr] === 'undefined') {
10991
+ // if (typeof nodeP.attributes[attr] === 'undefined') {
10992
+ // continue;
10993
+ // }
10994
+
10995
+ if (typeof func.UI.screen.fix_val_defaults(attr, nodeP.attributes[attr]) === 'undefined') {
10992
10996
  continue;
10993
10997
  }
10994
10998