@xuda.io/runtime-bundle 1.0.345 → 1.0.347

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.
@@ -11683,8 +11683,8 @@ 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[0].tagName !== 'XURENDER' && elem_val?.$elm?.length) continue;
11686
+ // // already rended
11687
+ // if (elem_val.$elm[0].tagName !== 'XURENDER' && elem_val?.$elm?.length) continue;
11688
11688
 
11689
11689
  new_job = await func.UI.worker.add_to_queue(
11690
11690
  SESSION_ID,
@@ -12396,6 +12396,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12396
12396
 
12397
12397
  const post_render = async function () {
12398
12398
  if (value) {
12399
+ // abort if already rended
12400
+ if ($elm[0].tagName !== 'XURENDER' && $elm?.length) {
12401
+ return func.events.delete_job(SESSION_ID, jobNoP);
12402
+ }
12403
+
12399
12404
  let original_data_obj = $elm.data().xuData.original_data_obj;
12400
12405
 
12401
12406
  if (!original_data_obj) {
@@ -9749,8 +9749,8 @@ 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[0].tagName !== 'XURENDER' && elem_val?.$elm?.length) continue;
9752
+ // // already rended
9753
+ // if (elem_val.$elm[0].tagName !== 'XURENDER' && elem_val?.$elm?.length) continue;
9754
9754
 
9755
9755
  new_job = await func.UI.worker.add_to_queue(
9756
9756
  SESSION_ID,
@@ -10462,6 +10462,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10462
10462
 
10463
10463
  const post_render = async function () {
10464
10464
  if (value) {
10465
+ // abort if already rended
10466
+ if ($elm[0].tagName !== 'XURENDER' && $elm?.length) {
10467
+ return func.events.delete_job(SESSION_ID, jobNoP);
10468
+ }
10469
+
10465
10470
  let original_data_obj = $elm.data().xuData.original_data_obj;
10466
10471
 
10467
10472
  if (!original_data_obj) {