@xuda.io/runtime-bundle 1.0.617 → 1.0.619

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.
@@ -13298,7 +13298,10 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13298
13298
  }
13299
13299
  // handle xu attributes
13300
13300
  try {
13301
- $elm.data().xuAttributes[key] = val;
13301
+ if ($elm?.data()?.xuAttributes) {
13302
+ // in some cases xu data delete in purpose when refreshing the screen
13303
+ $elm.data().xuAttributes[key] = val;
13304
+ }
13302
13305
  } catch (error) {
13303
13306
  debugger;
13304
13307
  console.error(error);
@@ -11029,7 +11029,10 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
11029
11029
  }
11030
11030
  // handle xu attributes
11031
11031
  try {
11032
- $elm.data().xuAttributes[key] = val;
11032
+ if ($elm?.data()?.xuAttributes) {
11033
+ // in some cases xu data delete in purpose when refreshing the screen
11034
+ $elm.data().xuAttributes[key] = val;
11035
+ }
11033
11036
  } catch (error) {
11034
11037
  debugger;
11035
11038
  console.error(error);