@xuda.io/runtime-bundle 1.0.341 → 1.0.343

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.
@@ -5214,7 +5214,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5214
5214
  ///// REFRESH SCREEN
5215
5215
  if (!avoid_refresh && fields_changed.length) {
5216
5216
  // await removed from the below function cause to dead lock Mar 3 25
5217
- func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
5217
+ await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
5218
5218
  func.UI.screen.refresh_screen(
5219
5219
  SESSION_ID,
5220
5220
  fields_changed,
@@ -11683,6 +11683,9 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11683
11683
 
11684
11684
  if (!elem_val?.$elm?.data()?.xuData?.ui_type) continue;
11685
11685
 
11686
+ // already rended
11687
+ if (elem_val?.$elm?.length) continue;
11688
+
11686
11689
  new_job = await func.UI.worker.add_to_queue(
11687
11690
  SESSION_ID,
11688
11691
  'gui event',
@@ -5215,7 +5215,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
5215
5215
  ///// REFRESH SCREEN
5216
5216
  if (!avoid_refresh && fields_changed.length) {
5217
5217
  // await removed from the below function cause to dead lock Mar 3 25
5218
- func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
5218
+ await func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
5219
5219
  func.UI.screen.refresh_screen(
5220
5220
  SESSION_ID,
5221
5221
  fields_changed,
@@ -9749,6 +9749,9 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9749
9749
 
9750
9750
  if (!elem_val?.$elm?.data()?.xuData?.ui_type) continue;
9751
9751
 
9752
+ // already rended
9753
+ if (elem_val?.$elm?.length) continue;
9754
+
9752
9755
  new_job = await func.UI.worker.add_to_queue(
9753
9756
  SESSION_ID,
9754
9757
  'gui event',