@xuda.io/runtime-bundle 1.0.618 → 1.0.620

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.
@@ -12970,6 +12970,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12970
12970
  console.warn(`attribute ${new_val.key} not found for ${nodeP.tagName}`);
12971
12971
  return {};
12972
12972
  }
12973
+ if (!$elm.data().xuData) return;
12973
12974
  $elm.data().xuData.debug_info.attribute_stat[new_val.key] = new_val.value;
12974
12975
 
12975
12976
  // IGNORE UNDEFINED or NULL ATTRIBUTES
@@ -13298,7 +13299,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13298
13299
  }
13299
13300
  // handle xu attributes
13300
13301
  try {
13301
- if (elm?.data()?.xuAttributes) {
13302
+ if ($elm?.data()?.xuAttributes) {
13302
13303
  // in some cases xu data delete in purpose when refreshing the screen
13303
13304
  $elm.data().xuAttributes[key] = val;
13304
13305
  }
@@ -10701,6 +10701,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10701
10701
  console.warn(`attribute ${new_val.key} not found for ${nodeP.tagName}`);
10702
10702
  return {};
10703
10703
  }
10704
+ if (!$elm.data().xuData) return;
10704
10705
  $elm.data().xuData.debug_info.attribute_stat[new_val.key] = new_val.value;
10705
10706
 
10706
10707
  // IGNORE UNDEFINED or NULL ATTRIBUTES
@@ -11029,7 +11030,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
11029
11030
  }
11030
11031
  // handle xu attributes
11031
11032
  try {
11032
- if (elm?.data()?.xuAttributes) {
11033
+ if ($elm?.data()?.xuAttributes) {
11033
11034
  // in some cases xu data delete in purpose when refreshing the screen
11034
11035
  $elm.data().xuAttributes[key] = val;
11035
11036
  }